Tuesday, April 1, 2008

grep with OR

You need to quote the search string and escape | to be used as an OR operator eg:

grep "Offset\|Stretch\|Alignment" superamazingfile

No comments: