From 5b5db38a7df20c8196e6a737cb2c76b219e152cc Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 9 Dec 2000 16:37:53 +0000 Subject: Patch from Matt Kraai to implement uniq -[cdu] --- docs/busybox.pod | 8 +++++++- docs/busybox.sgml | 12 ++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/busybox.pod b/docs/busybox.pod index 2ddacd152..5e4798439 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 =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 184814125..7d86e19e2 100644 --- a/docs/busybox.sgml +++ b/docs/busybox.sgml @@ -3427,6 +3427,18 @@ INPUT (or stdin), writing to OUTPUT (or stdout). + + Options: + + + + + -c prefix lines by the number of occurrences + -d only print duplicate lines + -u only print unique lines + + + Example: -- cgit v1.2.3