Parcourir la source

cmp: add page

Hayden Schiff il y a 9 ans
Parent
commit
eb5d016e4a
1 fichiers modifiés avec 11 ajouts et 0 suppressions
  1. 11 0
      pages/common/cmp.md

+ 11 - 0
pages/common/cmp.md

@@ -0,0 +1,11 @@
+# cmp
+
+> Compare two files.
+
+- Find the byte number and line number of the first difference between the files:
+
+`cmp {{file1}} {{file2}}`
+
+- Find the byte number and differing bytes of every difference:
+
+`cmp -l {{file1}} {{file2}}`