- or download this
$ diff -r test1/ test2/
diff -r test1/common/common.txt test2/common/common.txt
...
Only in test2/common: common.txt~
Only in test1/: different1
Only in test2/: different2
- or download this
#!/usr/bin/perl
use strict;
...
Only in test2/common: common.txt~
Only in test1: different1
Only in test2: different2
- or download this
#!/usr/bin/perl
use strict;
...
@@ -1 +1 @@
-This is a common line
+This is a common line.