Quote:
Originally Posted by
doganaym
sort file1.txt > file1
sort file2.txt > file2
comm -23 file1 file2
Hi doganaym,
Thanks for the quick reply..the first two commands seem to be working...and the files are sorted..
But I am afraid even after neither third command as you provided worked nor the 'diff' command.
---------- Post updated at 04:17 PM ---------- Previous update was at 04:12 PM ----------
Hi again,
command is working all fine for the example file that I provided here.
Not sure, why its not working on my huge list of files..
Checking ! Thanks again for your help,
emily
---------- Post updated at 04:27 PM ---------- Previous update was at 04:17 PM ----------
I tried that as well, no use..
Somehow the file1 has 1636 entries and the second file has 1538 entries..differnce is of around ~100.
But the comm, diff, and your new command all are giving the final difference file with entries more than 2000..
![Frown Smilie](https://www.unix.com/images/smilies/frown.gif)
thats annoying..not sure wats happening..
emily..
Sorry,to be precise, the difference is comign at the moment is 10556 entries..
![Frown Smilie](https://www.unix.com/images/smilies/frown.gif)