Hi guys,
I have a service directory with a lot of files in.
I have to cksum the whole directory and compare it to a release note document.
However the problem I have is the files are listed in different lines when running cksum as they are in the release doc. Therefore cksum shows differences.
The release note cksums are in a table in a work doc. I can cut and paste to a notepad and then paste into a file using
vi. It creates different white space in the fields but I get around this with diff -w.
If I have the cksums from the release notes in a file called Release_note.cksum and the output the result of cksum * to a file called directory.cksum, is there anything I can do to sort these output and save them each to another file and then diff the 2 sorted files?
Many thanks in anticipation.
Stin