Patch from Matt Kraai to implement uniq -[cdu]

This commit is contained in:
Eric Andersen
2000-12-09 16:37:53 +00:00
parent 1bca5ed886
commit 5b5db38a7d
6 changed files with 103 additions and 15 deletions

View File

@ -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 $

View File

@ -3427,6 +3427,18 @@
INPUT (or stdin), writing to OUTPUT (or stdout).
</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>