aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uniq.c
diff options
context:
space:
mode:
authorJohn Beppu <beppu@lbox.org>2000-01-07 01:57:32 +0000
committerJohn Beppu <beppu@lbox.org>2000-01-07 01:57:32 +0000
commit9d83165d9e36c61cf2fa49deee1bc14bd2d56c1d (patch)
tree05cd4442f3ac137593444a14a02007fc9c43995e /coreutils/uniq.c
parent96f1f33e560295e0ef290d96ec2ca54a6ebee23e (diff)
downloadbusybox-w32-9d83165d9e36c61cf2fa49deee1bc14bd2d56c1d.tar.gz
busybox-w32-9d83165d9e36c61cf2fa49deee1bc14bd2d56c1d.tar.bz2
busybox-w32-9d83165d9e36c61cf2fa49deee1bc14bd2d56c1d.zip
added uniq_usage message
Diffstat (limited to 'coreutils/uniq.c')
-rw-r--r--coreutils/uniq.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/coreutils/uniq.c b/coreutils/uniq.c
index 5f0e192a2..034ea316e 100644
--- a/coreutils/uniq.c
+++ b/coreutils/uniq.c
@@ -27,7 +27,14 @@
27#include <errno.h> 27#include <errno.h>
28 28
29static const char uniq_usage[] = 29static const char uniq_usage[] =
30"haha\n" 30"Usage: uniq [OPTION]... [INPUT [OUTPUT]]\n"
31"Discard all but one of successive identical lines from INPUT (or\n"
32"standard input), writing to OUTPUT (or standard output).\n"
33"\n"
34"\t-h\tdisplay this help and exit\n"
35"\n"
36"A field is a run of whitespace, then non-whitespace characters.\n"
37"Fields are skipped before chars.\n"
31; 38;
32 39
33/* max chars in line */ 40/* max chars in line */
@@ -186,4 +193,4 @@ uniq_main(int argc, char **argv)
186 exit(0); 193 exit(0);
187} 194}
188 195
189/* $Id: uniq.c,v 1.3 2000/01/06 23:49:21 beppu Exp $ */ 196/* $Id: uniq.c,v 1.4 2000/01/07 01:57:32 beppu Exp $ */