فهرست منبع

uniq: add page

muteness 9 سال پیش
والد
کامیت
f8cbd12e70
1فایلهای تغییر یافته به همراه19 افزوده شده و 0 حذف شده
  1. 19 0
      pages/common/uniq.md

+ 19 - 0
pages/common/uniq.md

@@ -0,0 +1,19 @@
+# uniq
+
+> Report or omit repeated lines.
+
+- Display each line once:
+
+`uniq {{file}}`
+
+- Display only unique lines:
+
+`uniq -u {{file}}`
+
+- Display only duplicate lines:
+
+`uniq -d {{file}}`
+
+- Display number of occurences of each line along with that line:
+
+`uniq -c {{file}}`