1
I've created a text file (in Windows) with the text patterns I wish to search for. Using the -f switch, grep only searches for the last pattern in the list. If there is a blank line, grep finds nothing.
grep -a -A 4 -f Grep.txt my.file
Any suggestions to get this to work?
Thanks
That was it. Another option is to use NotePad++ to save in Unix text format. – Roy Jensen – 2012-11-26T20:12:55.150