04/07/2012

Test the number of different lines between two files with diff and wc

With diff and wc,  you can check the number of differing lines between two files as:

diff file1 file2 | wc -l

No comments:

Post a Comment

With great power comes great responsibility.

Da grandi poteri derivano grandi responsabilità.