coding tips
OR
grep -E 'pattern1|pattern2' filename
AND
grep -E 'pattern1.*pattern2' filename
http://www.thegeekstuff.com/2011/10/grep-or-and-not-operators/
No comments:
Post a Comment