Ver Fonte

cmp: add page

Hayden Schiff há 9 anos atrás
pai
commit
eb5d016e4a
1 ficheiros alterados com 11 adições e 0 exclusões
  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}}`