Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/coreutils/cut.c


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 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/cut.c

    r2725 r3232  
    99 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    1010 */
     11
     12//usage:#define cut_trivial_usage
     13//usage:       "[OPTIONS] [FILE]..."
     14//usage:#define cut_full_usage "\n\n"
     15//usage:       "Print selected fields from each input FILE to stdout\n"
     16//usage:     "\n    -b LIST Output only bytes from LIST"
     17//usage:     "\n    -c LIST Output only characters from LIST"
     18//usage:     "\n    -d CHAR Use CHAR instead of tab as the field delimiter"
     19//usage:     "\n    -s  Output only the lines containing delimiter"
     20//usage:     "\n    -f N    Print only these fields"
     21//usage:     "\n    -n  Ignored"
     22//usage:
     23//usage:#define cut_example_usage
     24//usage:       "$ echo \"Hello world\" | cut -f 1 -d ' '\n"
     25//usage:       "Hello\n"
     26//usage:       "$ echo \"Hello world\" | cut -f 2 -d ' '\n"
     27//usage:       "world\n"
    1128
    1229#include "libbb.h"
     
    196213            bb_error_msg_and_die
    197214                ("suppressing non-delimited lines makes sense%s",
    198                  _op_on_field);
     215                _op_on_field);
    199216        }
    200217        if (delim != '\t') {
Note: See TracChangeset for help on using the changeset viewer.