소스 검색

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}}`