print lines matching a pattern
|
-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.)
|
grep searches the named input FILEs (or standard input if no files are named, or if a single hyphen-minus
(-) is given as file name) for lines containing a match to the given PATTERN. By default, grep prints
the matching lines.
|