Add in xargs

This commit is contained in:
Eric Andersen
2000-09-22 20:01:23 +00:00
parent 90f580ad5b
commit 92a61c1206
9 changed files with 1875 additions and 5 deletions

View File

@@ -349,6 +349,9 @@ const struct BB_applet applets[] = {
#ifdef BB_WHOAMI
{"whoami", whoami_main, _BB_DIR_USR_BIN, whoami_usage},
#endif
#ifdef BB_XARGS
{"xargs", xargs_main, _BB_DIR_USR_BIN, xargs_usage},
#endif
#ifdef BB_YES
{"yes", yes_main, _BB_DIR_USR_BIN, yes_usage},
#endif

View File

@@ -1432,6 +1432,17 @@ const char whoami_usage[] =
;
#endif
#if defined BB_XARGS
const char xargs_usage[] =
"xargs [-0prtx] [-e[eof-str]] [-i[replace-str]] [-l[max-lines]]\n"
"[-n max-args] [-s max-chars] [-P max-procs] [--null] [--eof[=eof-str]]\n"
"[--replace[=replace-str]] [--max-lines[=max-lines]] [--interactive]\n"
"[--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]\n"
"[--max-args=max-args] [--no-run-if-empty] [--help]\n"
"[command [initial-arguments]]\n"
"\nBuild and execute command on lines from standard input.\n";
#endif
#if defined BB_YES
const char yes_usage[] =
"yes [OPTION]... [STRING]...\n"