You can use DOS findstrwith the following flags: -
/v : Prints only lines that do not contain a match.
/g: file : Gets search strings from the specified file.
The command will look something like this: -
C:\Users\dude\Desktop>findstr /v /g:Old.txt New.txt >difference.txt
Now check the output of the file with the command type; equivalent catto Linux, we see: -
C:\Users\dude\Desktop>type difference.txt
grape
lemon
source
share