i should find the difference in file 2 compare to file 1
If any file missing, shell script should indicate the the missed file and write it in another text file(ex error.txt)
shell script should not compare the first line (date) for both test file(file1 and file2)
for example the output should be like in Error.txt
File missing :
APDemoOutline.doc
---------- Post updated at 10:05 PM ---------- Previous update was at 01:45 AM ----------
Thanks to all
i successfully resolved my problem with your help and guide.
But i got one new problem now.
Using diff and sdiff function i can get the the correct output in error.txt..
but when i execute the script file again later, the errors in error.txt are disappears and re-write it with new errors.
Is there any other way that i can keep adding my errors in my error.txt without deleting the previous error??
and of course the current error should be in top..