Grep

From Hackepedia
Revision as of 09:34, 21 March 2006 by Franks (talk | contribs) (added brackets)
Jump to navigationJump to search

If you want to grep for two strings? say fish OR fowl in your file:

$ egrep '(fish|fowl)' file