What's the easiest way to compare
2 text files?
There are many utilities (diff, comm) but, by far, the
best way in my opinion is to use kdiff and Midnight Commander,
two excellent pieces of software. You must insert this in your ~/.mc/menu
file:
k kdiff left_file right_file
kdiff %d/%f %D/%F
|
Now, when you press F2 and k in Midnight Commander, kdiff
will be launched automatically, comparing the two current files from Midnight's
panels. Isn't that great? (you must be under X-windows to do this) Of course,
you could be using kdiff by itself, but then you will have to do
the extra work of loading the two files (I prefer using the keyboard)
Have a Unix Problem
Do
you have a UNIX Question?
Unix Books :-
UNIX Programming,
Certification, System Administration, Performance Tuning Reference Books
Return to : - Unix
System Administration Hints and Tips
(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
All product names are trademarks of their respective
companies.
The site www.gotothings.com is in no way affiliated with
or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.
|