So, I have text files,
one "fail.txt"
And one
"color.txt"
I now want to use a command line (DOS) to remove ANY line that is PRESENT IN BOTH from each text file.
Afterwards there shall be no duplicate lines.
So, I have text files,
one "fail.txt"
And one
"color.txt"
I now want to use a command line (DOS) to remove ANY line that is PRESENT IN BOTH from each text file.
Afterwards there shall be no duplicate lines.
Well in unix-land:-
grep -vf fail.txt colours.txt > output.txt
grep -vf colours.txt fail.txt >> output.txt
I think that you can get a grep for DOS by searching on-line. Maybe Windows Grep: Grep for Windows will suit, but use your favourite search engine with the keywords DOS & GREP.
Robin