grep -v with multiple patterns.

$ sed \'/test/{/error|critical|warning/d}\' somefile If you wanted to do all in one command, you could go w/ sed instead

\"\"

by David Winterbottom (codeinthehole.com)

\"\"
\"\"

\"\"

URL: http://feedproxy.google.com/~r/Command-line-fu/~3/LjKzo7FpzDU/grep-v-with-multiple-patterns.

\"Reblog

2 thoughts on “grep -v with multiple patterns.”