Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
/* This is a NOFORK applet. Be very careful! */
+//usage:#define yes_trivial_usage
+//usage: "[STRING]"
+//usage:#define yes_full_usage "\n\n"
+//usage: "Repeatedly output a line with STRING, or 'y'"
+
int yes_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int yes_main(int argc UNUSED_PARAM, char **argv)
{
"$ ls | xargs gzip\n" \
"$ find . -name '*.c' -print | xargs rm\n"
-#define yes_trivial_usage \
- "[OPTIONS] [STRING]"
-#define yes_full_usage "\n\n" \
- "Repeatedly output a line with STRING, or 'y'"
-
#define zcat_trivial_usage \
"FILE"
#define zcat_full_usage "\n\n" \