Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/coreutils/uniq.c

    r2725 r3232  
    1010/* BB_AUDIT SUSv3 compliant */
    1111/* 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"
    1229
    1330#include "libbb.h"
Note: See TracChangeset for help on using the changeset viewer.