浏览代码

cmp: add page

Hayden Schiff 9 年之前
父节点
当前提交
eb5d016e4a
共有 1 个文件被更改,包括 11 次插入0 次删除
  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}}`