On this page

LIB FIND

Core command LI FI LIFI

Finds the Scripts of the Scripts Library whose content contains a text, ignoring case.

Syntax

LIB FIND <text> [BY TAG | GROUP | ENVIRONMENT | DIALECT | STATUS | ACCESS | FOLDER]

Arguments

ArgumentRequiredValuesDefault
<text>YesText searched in the content of every Script, ignoring caseNone
BY <dimension>NoGroups the found Scripts as LIB LIST doesOne list, sorted by path

Examples

LIB FIND revenue;
LIB FIND CUSTOMER_ID;
LIB FIND CUSTOMER_ID BY TAG;

Details

Every Script whose content contains the text anywhere, ignoring case, is listed, with the same columns as LIB LIST. The metadata header is part of the content, so a description or a tag matches too.

Unlike LIB LIST <text>, which only matches the path, it searches the content, and always the whole library, whatever the Database Group or Environment. It finds Scripts; it does not resolve a name, so it is the one library command where a partial text is meaningful.

BY <dimension> at the end groups the found Scripts exactly as LIB LIST ... BY does.

Used in these how-tos

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.