using diff

Lorne Webber lorneweb at telusplanet.net
Sat Oct 23 12:43:55 EDT 2004


Do any of you know what command(s) I should use if I want to compare 2
files, to see what the differences are?
say for example i have file 1 that contains the words dog and cat, in that
order
and file2 that has cat, mouse, dog, in that order
what I want it to tell me is that the only difference is that file 2 has
mouse, so regardless of order.

i know diff is supposed to do something like this, but I want to know the
file differences even if they aren't sorted.

Thanks.
Lorne






More information about the Speakup mailing list