diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-10 21:47:17 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-10 21:47:17 +0000 |
| commit | 17ac7ef8f3a52ca86d465a68ca95228ecfc89b29 (patch) | |
| tree | 86dd9ea4d8b1bd757609849977321bbef83a2c6f /include | |
| parent | 6585a5fc0ae9f48742c7ab8d7a4fb18192cee04e (diff) | |
| download | busybox-w32-17ac7ef8f3a52ca86d465a68ca95228ecfc89b29.tar.gz busybox-w32-17ac7ef8f3a52ca86d465a68ca95228ecfc89b29.tar.bz2 busybox-w32-17ac7ef8f3a52ca86d465a68ca95228ecfc89b29.zip | |
Rewrite of xargs by Vladimir N. Oleynik
git-svn-id: svn://busybox.net/trunk/busybox@5901 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index d0aa3243f..c140a88ba 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -2243,9 +2243,13 @@ | |||
| 2243 | "Prints the user name associated with the current effective user id." | 2243 | "Prints the user name associated with the current effective user id." |
| 2244 | 2244 | ||
| 2245 | #define xargs_trivial_usage \ | 2245 | #define xargs_trivial_usage \ |
| 2246 | "[COMMAND] [ARGS...]" | 2246 | "[COMMAND] [-prt] [ARGS...]" |
| 2247 | #define xargs_full_usage \ | 2247 | #define xargs_full_usage \ |
| 2248 | "Executes COMMAND on every item given by standard input." | 2248 | "Executes COMMAND on every item given by standard input.\n\n" \ |
| 2249 | "Options:\n" \ | ||
| 2250 | "\t-p\tPrompt the user about whether to run each command\n" \ | ||
| 2251 | "\t-r\tDo not run command for empty readed lines\n" \ | ||
| 2252 | "\t-t\tPrint the command line on stderr before executing it." | ||
| 2249 | #define xargs_example_usage \ | 2253 | #define xargs_example_usage \ |
| 2250 | "$ ls | xargs gzip\n" \ | 2254 | "$ ls | xargs gzip\n" \ |
| 2251 | "$ find . -name '*.c' -print | xargs rm\n" | 2255 | "$ find . -name '*.c' -print | xargs rm\n" |
