If you want to extract the lines containing (at least) one of several words using grep the following command line will be your friend:
grep "word1\|word2" inputfile

Keine Kommentare (Schreibe einen Kommentar)