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

1 comment:

Erica Rogers said...

Nice post thanks for sharring