summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-03 07:21:27 +0000
committerDenis Vlasenko2008-05-03 07:21:27 +0000
commit96b99b860cc15f13b85b1b2d5b5b20ab7183a652 (patch)
treef7f5236085dcc40f02bd29078900d971a787344e /include/usage.h
parent687a26fe0dcf10f227cb0541882d1daa8a21991d (diff)
downloadbusybox-96b99b860cc15f13b85b1b2d5b5b20ab7183a652.zip
busybox-96b99b860cc15f13b85b1b2d5b5b20ab7183a652.tar.gz
uniq: support -w. closes bug 3094.
function old new delta packed_usage 24136 24132 -4 uniq_main 399 384 -15
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index cbc5cb0..e791ba6 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -4303,16 +4303,16 @@
)
#define uniq_trivial_usage \
- "[-fscdu]... [INPUT [OUTPUT]]"
+ "[-fscduw]... [INPUT [OUTPUT]]"
#define uniq_full_usage "\n\n" \
- "Discard all but one of successive identical lines from INPUT\n" \
- "(or standard input), writing to OUTPUT (or standard output)\n" \
+ "Discard duplicate lines\n" \
"\nOptions:" \
"\n -c Prefix lines by the number of occurrences" \
"\n -d Only print duplicate lines" \
"\n -u Only print unique lines" \
- "\n -f N Skip the first N fields" \
- "\n -s N Skip the first N chars (after any skipped fields)" \
+ "\n -f N Skip first N fields" \
+ "\n -s N Skip first N chars (after any skipped fields)" \
+ "\n -w N Compare N characters in line" \
#define uniq_example_usage \
"$ echo -e \"a\\na\\nb\\nc\\nc\\na\" | sort | uniq\n" \