How to find the difference in two shell script files..
Hi,
Please let us how to find the difference in two unix shell script files.. |
use the diff command
|
Or
If you want a 'side by side' view try sdiff. (Works best with wide screen/terminal and options of your choice. See the MAN page.)
|
I use diff -u and patch to get the differences and apply changes to my scripts
ps: diff -y does the same as sdiff |
The unofficial leader of my LUG swears by meld. He's not a big fan of GUI front-ends for command line programs, but for meld he makes an exception.
|
You can use either diff or cmp command.
|
All times are GMT -5. The time now is 04:01 PM. |