OS : SuSE Linux 10 (zOS)
I create two files test1 and test2
/home/me # more test1
1 2 3 4 5
/home/me # more test2
1 2 3
I entered the following command on cronjob and its work
diff /home/me/test1 /home/me/test2 > /home/me/test3
its created test3.
But the output of test3 is as below:
# more test3
1c1
< 1 2 3 4 5
---
> 1 2 3
but I want only differnce such as
> 4 5
Any help will be appreciated.
sdhn