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

@ -1365,6 +1365,10 @@ const char uniq_usage[] =
#ifndef BB_FEATURE_TRIVIAL_HELP
"\nDiscard all but one of successive identical lines from INPUT\n"
"(or standard input), writing to OUTPUT (or standard output).\n"
"Options:\n"
"\t-c\tprefix lines by the number of occurrences\n"
"\t-d\tonly print duplicate lines\n"
"\t-u\tonly print unique lines\n"
#endif
;
#endif