1

Help with grepping data from a text file

view story
linux-howto

http://www.unix.com – Hello, I have a text file which contains a list of strings which I want to grep from another file where these strings occur and print out only these lines. I had earlier used the grep command Quote: grep -f File1 File2 where File1 was the file containing the strings to be grepped (Source File) and File2 the Target File from which the strings had to extracted. And this had worked, but this time the above syntax does not work. I am in a windows environment and tried both GREP for DOS as well as GREP32 but in each case I do not get the desir (HowTos)