move help text from include/usage.src.h to coreutils/*.c

Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Pere Orga
2011-03-31 14:43:25 +02:00
committed by Denys Vlasenko
parent e3d8d077b7
commit 34425389e0
67 changed files with 1070 additions and 1055 deletions

View File

@@ -10,6 +10,19 @@
/* BB_AUDIT SUSv3 compliant */
/* http://www.opengroup.org/onlinepubs/007904975/utilities/tee.html */
//usage:#define tee_trivial_usage
//usage: "[-ai] [FILE]..."
//usage:#define tee_full_usage "\n\n"
//usage: "Copy stdin to each FILE, and also to stdout\n"
//usage: "\nOptions:"
//usage: "\n -a Append to the given FILEs, don't overwrite"
//usage: "\n -i Ignore interrupt signals (SIGINT)"
//usage:
//usage:#define tee_example_usage
//usage: "$ echo \"Hello\" | tee /tmp/foo\n"
//usage: "$ cat /tmp/foo\n"
//usage: "Hello\n"
#include "libbb.h"
int tee_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;