summaryrefslogtreecommitdiff
path: root/src/uniq.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 18:34:54 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 18:34:54 +0000
commit7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad (patch)
tree977d95cd30e4083cdebe7ce708c4940438689d05 /src/uniq.c
parente8be969ec8dabc29cf0f55750fdde2a52cc0df23 (diff)
downloadcoreutils-7cdc7a0bd9dfa7a106a27115eb6fa1a3ee0f28ad.tar.xz
(usage): Include one- or two-line synopsis in --help output.
From Karl Berry.
Diffstat (limited to 'src/uniq.c')
-rw-r--r--src/uniq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/uniq.c b/src/uniq.c
index 64a5da3d3..334bbf38e 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -348,6 +348,8 @@ Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\
",
program_name);
printf ("\
+Discard all but one of successive identical lines from INPUT (or\n\
+standard input), writing to OUTPUT (or standard output).\n\
\n\
-c, --count prefix lines by the number of occurrences\n\
-d, --repeated only print duplicate lines\n\
@@ -360,9 +362,8 @@ Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-A field is a run of whitespace, than non whitespace characters.\n\
-Fields are skipped before chars. If OUTPUT not specified, writes to\n\
-standard output. If INPUT not specified, reads from standard input.\n\
+A field is a run of whitespace, than non-whitespace characters.\n\
+Fields are skipped before chars. \n\
");
}
exit (status);