compare linecount of two files
hi
i know that
wc -l file
gives me the line count of a file.
can someone please tell me how i can compare the number of two files in a script and then perform some action if the difference between the 2 is above some predefined number?
Thanks
Martin
|