summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Andersen2000-12-09 16:37:53 +0000
committerEric Andersen2000-12-09 16:37:53 +0000
commit5b5db38a7df20c8196e6a737cb2c76b219e152cc (patch)
treedcf75d601711f5c3b7ccf036ba80b7fcc71fc338 /docs
parent1bca5ed886322f49fddd4b05ca76fd3a1906d98b (diff)
downloadbusybox-5b5db38a7df20c8196e6a737cb2c76b219e152cc.zip
busybox-5b5db38a7df20c8196e6a737cb2c76b219e152cc.tar.gz
Patch from Matt Kraai to implement uniq -[cdu]
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.pod8
-rw-r--r--docs/busybox.sgml12
2 files changed, 19 insertions, 1 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index 2ddacd1..5e47984 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -1954,6 +1954,12 @@ Usage: uniq [OPTION]... [INPUT [OUTPUT]]
Discard all but one of successive identical lines from INPUT
(or standard input), writing to OUTPUT (or standard output).
+
+Options:
+
+ -c prefix lines by the number of occurrences
+ -d only print duplicate lines
+ -u only print unique lines
Example:
@@ -2286,4 +2292,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut
-# $Id: busybox.pod,v 1.79 2000/12/08 20:38:00 andersen Exp $
+# $Id: busybox.pod,v 1.80 2000/12/09 16:37:53 andersen Exp $
diff --git a/docs/busybox.sgml b/docs/busybox.sgml
index 1848141..7d86e19 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -3428,6 +3428,18 @@
</para>
<para>
+ Options:
+ </para>
+
+ <para>
+ <screen>
+ -c prefix lines by the number of occurrences
+ -d only print duplicate lines
+ -u only print unique lines
+ </screen>
+ </para>
+
+ <para>
Example:
</para>