Hello,
I have a file with a large number of words each listed in sequential order one word per line.
I want to search these words in another file which has the structure
Both the files are large, but the words in the sourcefile are all available in the target file.
I tried to grep the data using grep, but the older grep (8 bit) which supported such a procedure, is not supported in new grep.: grep 32 bit.
Maybe the syntax is different but I get the following:
Try as I will I have not been able to grep the file. Any suggestions and help for alternate methods: awk or Perl would be really welcome.
My OS is Vista/Win7 hence the request.
Not the slightest idea how grep on your system would work. Here you can find some ports of common GNU utilities. With those, grep -f patternfile should work.