Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/coreutils/uniq.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/coreutils/uniq.c
r2725 r3232 10 10 /* BB_AUDIT SUSv3 compliant */ 11 11 /* http://www.opengroup.org/onlinepubs/007904975/utilities/uniq.html */ 12 13 //usage:#define uniq_trivial_usage 14 //usage: "[-cdu][-f,s,w N] [INPUT [OUTPUT]]" 15 //usage:#define uniq_full_usage "\n\n" 16 //usage: "Discard duplicate lines\n" 17 //usage: "\n -c Prefix lines by the number of occurrences" 18 //usage: "\n -d Only print duplicate lines" 19 //usage: "\n -u Only print unique lines" 20 //usage: "\n -f N Skip first N fields" 21 //usage: "\n -s N Skip first N chars (after any skipped fields)" 22 //usage: "\n -w N Compare N characters in line" 23 //usage: 24 //usage:#define uniq_example_usage 25 //usage: "$ echo -e \"a\\na\\nb\\nc\\nc\\na\" | sort | uniq\n" 26 //usage: "a\n" 27 //usage: "b\n" 28 //usage: "c\n" 12 29 13 30 #include "libbb.h"
Note:
See TracChangeset
for help on using the changeset viewer.