Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/coreutils/tee.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/tee.c

    r2725 r3232  
    1010/* BB_AUDIT SUSv3 compliant */
    1111/* http://www.opengroup.org/onlinepubs/007904975/utilities/tee.html */
     12
     13//usage:#define tee_trivial_usage
     14//usage:       "[-ai] [FILE]..."
     15//usage:#define tee_full_usage "\n\n"
     16//usage:       "Copy stdin to each FILE, and also to stdout\n"
     17//usage:     "\n    -a  Append to the given FILEs, don't overwrite"
     18//usage:     "\n    -i  Ignore interrupt signals (SIGINT)"
     19//usage:
     20//usage:#define tee_example_usage
     21//usage:       "$ echo \"Hello\" | tee /tmp/foo\n"
     22//usage:       "$ cat /tmp/foo\n"
     23//usage:       "Hello\n"
    1224
    1325#include "libbb.h"
Note: See TracChangeset for help on using the changeset viewer.