[Editorial insertion: Possible duplicate of the same poster\'s earlier question?]
Hi, I need to extract from the file:
first second
grep -E '(second|third)' /path/to/file egrep -w 'second|third' /path/to/file