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?