瀏覽代碼

Base: Add uniq(1) manpage

anarchyrucks 3 年之前
父節點
當前提交
75e31a4749
共有 1 個文件被更改,包括 28 次插入0 次删除
  1. 28 0
      Base/usr/share/man/man1/uniq.md

+ 28 - 0
Base/usr/share/man/man1/uniq.md

@@ -0,0 +1,28 @@
+## Name
+
+uniq - filter out repeated lines
+
+## Synopsis
+
+```**sh
+$ uniq [--version] [INPUT] [OUTPUT]
+```
+
+## Description
+
+Filter out repeated lines from INPUT (or standard input) and write to OUTPUT (or standard output).
+
+## Options
+
+* `--help`: Display help message and exit
+* `--version`: Print version
+
+## Examples
+
+```sh
+# Filter out repeated lines from README.md and write to standard output
+$ uniq README.md
+
+# Filter out repeated lines from README.md and write to UNIQUE.md
+$ uniq README.md UNIQUE.md
+```