diff --git a/content/reference/functions/findfiles_up.markdown b/content/reference/functions/findfiles_up.markdown index bc2c0bd24..3c54c15f7 100644 --- a/content/reference/functions/findfiles_up.markdown +++ b/content/reference/functions/findfiles_up.markdown @@ -3,12 +3,13 @@ layout: default title: findfiles_up aliases: - "/reference-functions-findfiles_up.html" + - "/reference/functions/search_up" --- {{< CFEngine_function_prototype(path, glob, level) >}} **Description:** Return a data array of files that match a given glob pattern -by searching up the directory tree. +by searching up the directory tree. Also available as `search_up()`. This function searches for files matching a given glob pattern `glob` in the local filesystem by searching up the directory tree from a given absolute diff --git a/content/reference/functions/search_up.markdown b/content/reference/functions/search_up.markdown new file mode 100644 index 000000000..67f899129 --- /dev/null +++ b/content/reference/functions/search_up.markdown @@ -0,0 +1,15 @@ +--- +layout: default +title: search_up +aliases: + - "/reference-functions-search_up.html" +alias: reference-functions-search_up +--- + +`search_up()` is an alias for `findfiles_up()`. + +See the `findfiles_up()` documentation for usage, examples, and details. + +**History:** + +- Introduced in 3.18 (as an alias for `findfiles_up()`).