EGREP/GREP/FIND User Commands
find - File Search Utility
FIND, GREP, EGREP
find [OPTIONS] SEARCH FILE
egrep [OPTIONS] REGEX FILE
This command searches a text FILE for matches to a specified SEARCH
string. Each line containing a match is displayed. FIND and GREP search
for an exact match to the string. Case-dependent and case-independent
searches are possible. Regular Expressions (REGEX) are used with EGREP
or when optionally selected.
Use Regular Expressions (REGEX) for searches. This is the default
with the command alias EGREP.
Counts the number of lines with matches. Only the resulting count
Displays the line number in the FILE for each matching line.
Displays the FILE specification and line number for each matching
Performs a case-independent search.
This displays each matching line and subsequently underlines the
matched text with a series of dashes '---'. When this option is
used with REGEX the captured Groups as may be specified in the
Regular Expression using parentheses ( ) are displayed.
HELP Topics: REGEX