Can I use the diff command to find out if two of files differ by k lines?
I don\'t want the contextual difference, just the total number of lines that are different
diff can do all the first part of the job but no counting; wc -l does the rest:
diff
wc -l
diff -y --suppress-common-lines file1 file2 | wc -l