I'm not sure from your description but are you wanting to only show lines that are different? If so
diff -y --suppress-common-lines file1 file2
could be what you need. I hope I haven't misunderstood your requirement.
Cheers,
JohnGG
In reply to Re: diff vs diff -y
by johngg
in thread diff vs diff -y
by MissPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |