Search notes:
Shell: find lines that don't match a regexp with grep -v
grep
-v regexp file
prints all lines in
file
that
don't
match the
regular expression
regexp
.
grep -v
is the abbreviation for
grep --invert-match
.
See also
Shell commands
Index