I have two files, one being a superset of the other. I want to remove the identical lines in the smaller files from the larger file.
One possible complication is that the lines contain backslashes.
How do I do this?
|
I have two files, one being a superset of the other. I want to remove the identical lines in the smaller files from the larger file. One possible complication is that the lines contain backslashes. How do I do this? |
|||
|
|
|
Here is my snippet:
EDIT: I've just realized that there is no |
|||||||||
|
|
Try the following script;
Hope this helps. NOTE: I've used GNU sed 4.2.1, if that matters as well. |
||||
|
|