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
| Argument | Required | Values | Default |
|---|---|---|---|
<text> | Yes | Text searched in the content of every Script, ignoring case | None |
BY <dimension> | No | Groups the found Scripts as LIB LIST does | One 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.
Related
- LIB LIST, search by path
- LIB SHOW
- Scripts Library
Used in these how-tos
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.