print lines matching a pattern
|
-F, --fixed-strings
Interpret PATTERN as a list of fixed strings, separated by newlines, any of which is to be
matched. (-F is specified by POSIX.)
|
-x, --line-regexp
Select only those matches that exactly match the whole line. (-x is specified by POSIX.)
|
-v, --invert-match
Invert the sense of matching, to select non-matching lines. (-v is specified by POSIX.)
|
-f FILE, --file=FILE
Obtain patterns from FILE, one per line. The empty file contains zero patterns, and therefore
matches nothing. (-f is specified by POSIX.)
|
-n, --line-number
Prefix each line of output with the 1-based line number within its input file. (-n is specified
by POSIX.)
|