in reply to Re^3: Filtering lines from one file from another
in thread Filtering lines from one file from another

antonn,
The reason it seems to work is due to your specific data set. The solution without modification is fragile. This is because grep assumes that the file contains regular expressions (called patterns) not fixed strings. It would be better to add the -F option as shown by bellaire to treat them as fixed strings.

Cheers - L~R

  • Comment on Re^4: Filtering lines from one file from another