aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.src.h5
-rw-r--r--include/libbb.h2
-rw-r--r--include/usage.src.h252
3 files changed, 3 insertions, 256 deletions
diff --git a/include/applets.src.h b/include/applets.src.h
index 2998a0ea9..9162b66c7 100644
--- a/include/applets.src.h
+++ b/include/applets.src.h
@@ -136,7 +136,6 @@ IF_DUMPLEASES(APPLET(dumpleases, _BB_DIR_USR_BIN, _BB_SUID_DROP))
136//IF_E2LABEL(APPLET_ODDNAME(e2label, tune2fs, _BB_DIR_SBIN, _BB_SUID_DROP, e2label)) 136//IF_E2LABEL(APPLET_ODDNAME(e2label, tune2fs, _BB_DIR_SBIN, _BB_SUID_DROP, e2label))
137IF_ECHO(APPLET_NOFORK(echo, echo, _BB_DIR_BIN, _BB_SUID_DROP, echo)) 137IF_ECHO(APPLET_NOFORK(echo, echo, _BB_DIR_BIN, _BB_SUID_DROP, echo))
138IF_ED(APPLET(ed, _BB_DIR_BIN, _BB_SUID_DROP)) 138IF_ED(APPLET(ed, _BB_DIR_BIN, _BB_SUID_DROP))
139IF_FEATURE_GREP_EGREP_ALIAS(APPLET_ODDNAME(egrep, grep, _BB_DIR_BIN, _BB_SUID_DROP, egrep))
140IF_EJECT(APPLET(eject, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 139IF_EJECT(APPLET(eject, _BB_DIR_USR_BIN, _BB_SUID_DROP))
141IF_ENV(APPLET_NOEXEC(env, env, _BB_DIR_USR_BIN, _BB_SUID_DROP, env)) 140IF_ENV(APPLET_NOEXEC(env, env, _BB_DIR_USR_BIN, _BB_SUID_DROP, env))
142IF_ENVDIR(APPLET_ODDNAME(envdir, chpst, _BB_DIR_USR_BIN, _BB_SUID_DROP, envdir)) 141IF_ENVDIR(APPLET_ODDNAME(envdir, chpst, _BB_DIR_USR_BIN, _BB_SUID_DROP, envdir))
@@ -152,8 +151,6 @@ IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_DROP, fdfl
152IF_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 151IF_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_DROP))
153IF_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_DROP)) 152IF_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_DROP))
154IF_FGCONSOLE(APPLET(fgconsole, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 153IF_FGCONSOLE(APPLET(fgconsole, _BB_DIR_USR_BIN, _BB_SUID_DROP))
155IF_FEATURE_GREP_FGREP_ALIAS(APPLET_ODDNAME(fgrep, grep, _BB_DIR_BIN, _BB_SUID_DROP, fgrep))
156IF_FIND(APPLET_NOEXEC(find, find, _BB_DIR_USR_BIN, _BB_SUID_DROP, find))
157IF_FINDFS(APPLET(findfs, _BB_DIR_SBIN, _BB_SUID_MAYBE)) 154IF_FINDFS(APPLET(findfs, _BB_DIR_SBIN, _BB_SUID_MAYBE))
158IF_FLASH_ERASEALL(APPLET(flash_eraseall, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) 155IF_FLASH_ERASEALL(APPLET(flash_eraseall, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
159IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_lock)) 156IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_lock))
@@ -176,7 +173,6 @@ IF_GETENFORCE(APPLET(getenforce, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
176IF_GETOPT(APPLET(getopt, _BB_DIR_BIN, _BB_SUID_DROP)) 173IF_GETOPT(APPLET(getopt, _BB_DIR_BIN, _BB_SUID_DROP))
177IF_GETSEBOOL(APPLET(getsebool, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) 174IF_GETSEBOOL(APPLET(getsebool, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
178IF_GETTY(APPLET(getty, _BB_DIR_SBIN, _BB_SUID_DROP)) 175IF_GETTY(APPLET(getty, _BB_DIR_SBIN, _BB_SUID_DROP))
179IF_GREP(APPLET(grep, _BB_DIR_BIN, _BB_SUID_DROP))
180IF_GUNZIP(APPLET(gunzip, _BB_DIR_BIN, _BB_SUID_DROP)) 176IF_GUNZIP(APPLET(gunzip, _BB_DIR_BIN, _BB_SUID_DROP))
181IF_GZIP(APPLET(gzip, _BB_DIR_BIN, _BB_SUID_DROP)) 177IF_GZIP(APPLET(gzip, _BB_DIR_BIN, _BB_SUID_DROP))
182IF_HALT(APPLET(halt, _BB_DIR_SBIN, _BB_SUID_DROP)) 178IF_HALT(APPLET(halt, _BB_DIR_SBIN, _BB_SUID_DROP))
@@ -433,7 +429,6 @@ IF_WGET(APPLET(wget, _BB_DIR_USR_BIN, _BB_SUID_DROP))
433IF_WHICH(APPLET(which, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 429IF_WHICH(APPLET(which, _BB_DIR_USR_BIN, _BB_SUID_DROP))
434IF_WHO(APPLET(who, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 430IF_WHO(APPLET(who, _BB_DIR_USR_BIN, _BB_SUID_DROP))
435IF_WHOAMI(APPLET_NOFORK(whoami, whoami, _BB_DIR_USR_BIN, _BB_SUID_DROP, whoami)) 431IF_WHOAMI(APPLET_NOFORK(whoami, whoami, _BB_DIR_USR_BIN, _BB_SUID_DROP, whoami))
436IF_XARGS(APPLET_NOEXEC(xargs, xargs, _BB_DIR_USR_BIN, _BB_SUID_DROP, xargs))
437IF_UNXZ(APPLET_ODDNAME(xzcat, unxz, _BB_DIR_USR_BIN, _BB_SUID_DROP, xzcat)) 432IF_UNXZ(APPLET_ODDNAME(xzcat, unxz, _BB_DIR_USR_BIN, _BB_SUID_DROP, xzcat))
438IF_XZ(APPLET_ODDNAME(xz, unxz, _BB_DIR_USR_BIN, _BB_SUID_DROP, xz)) 433IF_XZ(APPLET_ODDNAME(xz, unxz, _BB_DIR_USR_BIN, _BB_SUID_DROP, xz))
439IF_YES(APPLET_NOFORK(yes, yes, _BB_DIR_USR_BIN, _BB_SUID_DROP, yes)) 434IF_YES(APPLET_NOFORK(yes, yes, _BB_DIR_USR_BIN, _BB_SUID_DROP, yes))
diff --git a/include/libbb.h b/include/libbb.h
index 1e3df0930..0836b684e 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -687,6 +687,8 @@ extern ssize_t safe_write(int fd, const void *buf, size_t count) FAST_FUNC;
687extern ssize_t full_write(int fd, const void *buf, size_t count) FAST_FUNC; 687extern ssize_t full_write(int fd, const void *buf, size_t count) FAST_FUNC;
688extern void xwrite(int fd, const void *buf, size_t count) FAST_FUNC; 688extern void xwrite(int fd, const void *buf, size_t count) FAST_FUNC;
689extern void xwrite_str(int fd, const char *str) FAST_FUNC; 689extern void xwrite_str(int fd, const char *str) FAST_FUNC;
690extern ssize_t full_write1_str(const char *str) FAST_FUNC;
691extern ssize_t full_write2_str(const char *str) FAST_FUNC;
690extern void xopen_xwrite_close(const char* file, const char *str) FAST_FUNC; 692extern void xopen_xwrite_close(const char* file, const char *str) FAST_FUNC;
691 693
692/* Close fd, but check for failures (some types of write errors) */ 694/* Close fd, but check for failures (some types of write errors) */
diff --git a/include/usage.src.h b/include/usage.src.h
index f9f457871..f30edbc54 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -1280,72 +1280,6 @@ INSERT
1280#define findfs_example_usage \ 1280#define findfs_example_usage \
1281 "$ findfs LABEL=MyDevice" 1281 "$ findfs LABEL=MyDevice"
1282 1282
1283#define find_trivial_usage \
1284 "[PATH]... [EXPRESSION]"
1285#define find_full_usage "\n\n" \
1286 "Search for files. The default PATH is the current directory,\n" \
1287 "default EXPRESSION is '-print'\n" \
1288 "\nEXPRESSION may consist of:" \
1289 "\n -follow Follow symlinks" \
1290 IF_FEATURE_FIND_XDEV( \
1291 "\n -xdev Don't descend directories on other filesystems") \
1292 IF_FEATURE_FIND_MAXDEPTH( \
1293 "\n -maxdepth N Descend at most N levels. -maxdepth 0 applies" \
1294 "\n tests/actions to command line arguments only") \
1295 "\n -mindepth N Don't act on first N levels" \
1296 "\n -name PATTERN File name (w/o directory name) matches PATTERN" \
1297 "\n -iname PATTERN Case insensitive -name" \
1298 IF_FEATURE_FIND_PATH( \
1299 "\n -path PATTERN Path matches PATTERN") \
1300 IF_FEATURE_FIND_REGEX( \
1301 "\n -regex PATTERN Path matches regex PATTERN") \
1302 IF_FEATURE_FIND_TYPE( \
1303 "\n -type X File type is X (X is one of: f,d,l,b,c,...)") \
1304 IF_FEATURE_FIND_PERM( \
1305 "\n -perm NNN Permissions match any of (+NNN), all of (-NNN)," \
1306 "\n or exactly NNN") \
1307 IF_FEATURE_FIND_MTIME( \
1308 "\n -mtime DAYS Modified time is greater than (+N), less than (-N)," \
1309 "\n or exactly N days") \
1310 IF_FEATURE_FIND_MMIN( \
1311 "\n -mmin MINS Modified time is greater than (+N), less than (-N)," \
1312 "\n or exactly N minutes") \
1313 IF_FEATURE_FIND_NEWER( \
1314 "\n -newer FILE Modified time is more recent than FILE's") \
1315 IF_FEATURE_FIND_INUM( \
1316 "\n -inum N File has inode number N") \
1317 IF_FEATURE_FIND_USER( \
1318 "\n -user NAME File is owned by user NAME (numeric user ID allowed)") \
1319 IF_FEATURE_FIND_GROUP( \
1320 "\n -group NAME File belongs to group NAME (numeric group ID allowed)") \
1321 IF_FEATURE_FIND_DEPTH( \
1322 "\n -depth Process directory name after traversing it") \
1323 IF_FEATURE_FIND_SIZE( \
1324 "\n -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))" \
1325 "\n +/-N: file size is bigger/smaller than N") \
1326 IF_FEATURE_FIND_LINKS( \
1327 "\n -links N Number of links is greater than (+N), less than (-N)," \
1328 "\n or exactly N") \
1329 "\n -print Print (default and assumed)" \
1330 IF_FEATURE_FIND_PRINT0( \
1331 "\n -print0 Delimit output with null characters rather than" \
1332 "\n newlines") \
1333 IF_FEATURE_FIND_CONTEXT ( \
1334 "\n -context File has specified security context") \
1335 IF_FEATURE_FIND_EXEC( \
1336 "\n -exec CMD ARG ; Run CMD with all instances of {} replaced by the" \
1337 "\n matching files") \
1338 IF_FEATURE_FIND_PRUNE( \
1339 "\n -prune Stop traversing current subtree") \
1340 IF_FEATURE_FIND_DELETE( \
1341 "\n -delete Delete files, turns on -depth option") \
1342 IF_FEATURE_FIND_PAREN( \
1343 "\n (EXPR) Group an expression") \
1344
1345#define find_example_usage \
1346 "$ find / -name passwd\n" \
1347 "/etc/passwd\n"
1348
1349#define flash_lock_trivial_usage \ 1283#define flash_lock_trivial_usage \
1350 "MTD_DEVICE OFFSET SECTORS" 1284 "MTD_DEVICE OFFSET SECTORS"
1351#define flash_lock_full_usage "\n\n" \ 1285#define flash_lock_full_usage "\n\n" \
@@ -1575,58 +1509,6 @@ INSERT
1575 "\n -I INITSTR Send INITSTR before anything else" \ 1509 "\n -I INITSTR Send INITSTR before anything else" \
1576 "\n -H HOST Log HOST into the utmp file as the hostname" \ 1510 "\n -H HOST Log HOST into the utmp file as the hostname" \
1577 1511
1578#define grep_trivial_usage \
1579 "[-HhnlLoqvsriw" \
1580 "F" \
1581 IF_FEATURE_GREP_EGREP_ALIAS("E") \
1582 IF_EXTRA_COMPAT("z") \
1583 "] [-m N] " \
1584 IF_FEATURE_GREP_CONTEXT("[-A/B/C N] ") \
1585 "PATTERN/-e PATTERN.../-f FILE [FILE]..."
1586#define grep_full_usage "\n\n" \
1587 "Search for PATTERN in FILEs (or stdin)\n" \
1588 "\nOptions:" \
1589 "\n -H Add 'filename:' prefix" \
1590 "\n -h Do not add 'filename:' prefix" \
1591 "\n -n Add 'line_no:' prefix" \
1592 "\n -l Show only names of files that match" \
1593 "\n -L Show only names of files that don't match" \
1594 "\n -c Show only count of matching lines" \
1595 "\n -o Show only the matching part of line" \
1596 "\n -q Quiet. Return 0 if PATTERN is found, 1 otherwise" \
1597 "\n -v Select non-matching lines" \
1598 "\n -s Suppress open and read errors" \
1599 "\n -r Recurse" \
1600 "\n -i Ignore case" \
1601 "\n -w Match whole words only" \
1602 "\n -F PATTERN is a literal (not regexp)" \
1603 IF_FEATURE_GREP_EGREP_ALIAS( \
1604 "\n -E PATTERN is an extended regexp" \
1605 ) \
1606 IF_EXTRA_COMPAT( \
1607 "\n -z Input is NUL terminated" \
1608 ) \
1609 "\n -m N Match up to N times per file" \
1610 IF_FEATURE_GREP_CONTEXT( \
1611 "\n -A N Print N lines of trailing context" \
1612 "\n -B N Print N lines of leading context" \
1613 "\n -C N Same as '-A N -B N'" \
1614 ) \
1615 "\n -e PTRN Pattern to match" \
1616 "\n -f FILE Read pattern from file" \
1617
1618#define grep_example_usage \
1619 "$ grep root /etc/passwd\n" \
1620 "root:x:0:0:root:/root:/bin/bash\n" \
1621 "$ grep ^[rR]oo. /etc/passwd\n" \
1622 "root:x:0:0:root:/root:/bin/bash\n"
1623
1624#define egrep_trivial_usage NOUSAGE_STR
1625#define egrep_full_usage ""
1626
1627#define fgrep_trivial_usage NOUSAGE_STR
1628#define fgrep_full_usage ""
1629
1630#define gunzip_trivial_usage \ 1512#define gunzip_trivial_usage \
1631 "[OPTIONS] [FILE]..." 1513 "[OPTIONS] [FILE]..."
1632#define gunzip_full_usage "\n\n" \ 1514#define gunzip_full_usage "\n\n" \
@@ -2148,28 +2030,6 @@ INSERT
2148 "\ninotifyd waits for PROG to exit." \ 2030 "\ninotifyd waits for PROG to exit." \
2149 "\nWhen x event happens for all FILEs, inotifyd exits." \ 2031 "\nWhen x event happens for all FILEs, inotifyd exits." \
2150 2032
2151/* 2.6 style insmod has no options and required filename
2152 * (not module name - .ko can't be omitted) */
2153#define insmod_trivial_usage \
2154 IF_FEATURE_2_4_MODULES("[OPTIONS] MODULE ") \
2155 IF_NOT_FEATURE_2_4_MODULES("FILE ") \
2156 "[symbol=value]..."
2157#define insmod_full_usage "\n\n" \
2158 "Load the specified kernel modules into the kernel" \
2159 IF_FEATURE_2_4_MODULES( "\n" \
2160 "\nOptions:" \
2161 "\n -f Force module to load into the wrong kernel version" \
2162 "\n -k Make module autoclean-able" \
2163 "\n -v Verbose" \
2164 "\n -q Quiet" \
2165 "\n -L Lock to prevent simultaneous loads of a module" \
2166 IF_FEATURE_INSMOD_LOAD_MAP( \
2167 "\n -m Output load map to stdout" \
2168 ) \
2169 "\n -o NAME Set internal module name to NAME" \
2170 "\n -x Don't export externs" \
2171 )
2172
2173/* -v, -b, -c are ignored */ 2033/* -v, -b, -c are ignored */
2174#define install_trivial_usage \ 2034#define install_trivial_usage \
2175 "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST" 2035 "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST"
@@ -2973,95 +2833,6 @@ INSERT
2973 "$ ls -la /tmp/temp.mWiLjM\n" \ 2833 "$ ls -la /tmp/temp.mWiLjM\n" \
2974 "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" 2834 "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n"
2975 2835
2976#define modprobe_trivial_usage \
2977 IF_MODPROBE_SMALL("[-qfwrsv] MODULE [symbol=value]...") \
2978 IF_NOT_MODPROBE_SMALL("[-" \
2979 IF_FEATURE_2_4_MODULES("k")"nqrsv" \
2980 IF_FEATURE_MODPROBE_BLACKLIST("b")"] MODULE [symbol=value]...")
2981#define modprobe_full_usage "\n\n" \
2982 "Options:" \
2983 IF_MODPROBE_SMALL( \
2984 "\n -q Quiet" \
2985 "\n -f Force" \
2986 "\n -w Wait for unload" \
2987 "\n -r Remove module (stacks) or do autoclean" \
2988 "\n -s Report via syslog instead of stderr" \
2989 "\n -v Verbose" \
2990 ) \
2991 IF_NOT_MODPROBE_SMALL( \
2992 IF_FEATURE_2_4_MODULES( \
2993 "\n -k Make module autoclean-able" \
2994 ) \
2995 "\n -n Dry run" \
2996 "\n -q Quiet" \
2997 "\n -r Remove module (stacks) or do autoclean" \
2998 "\n -s Report via syslog instead of stderr" \
2999 "\n -v Verbose" \
3000 IF_FEATURE_MODPROBE_BLACKLIST( \
3001 "\n -b Apply blacklist to module names too" \
3002 ) \
3003 )
3004
3005#define modprobe_notes_usage \
3006"modprobe can (un)load a stack of modules, passing each module options (when\n" \
3007"loading). modprobe uses a configuration file to determine what option(s) to\n" \
3008"pass each module it loads.\n" \
3009"\n" \
3010"The configuration file is searched (in this order):\n" \
3011"\n" \
3012" /etc/modprobe.conf (2.6 only)\n" \
3013" /etc/modules.conf\n" \
3014" /etc/conf.modules (deprecated)\n" \
3015"\n" \
3016"They all have the same syntax (see below). If none is present, it is\n" \
3017"_not_ an error; each loaded module is then expected to load without\n" \
3018"options. Once a file is found, the others are tested for.\n" \
3019"\n" \
3020"/etc/modules.conf entry format:\n" \
3021"\n" \
3022" alias <alias_name> <mod_name>\n" \
3023" Makes it possible to modprobe alias_name, when there is no such module.\n" \
3024" It makes sense if your mod_name is long, or you want a more representative\n" \
3025" name for that module (eg. 'scsi' in place of 'aha7xxx').\n" \
3026" This makes it also possible to use a different set of options (below) for\n" \
3027" the module and the alias.\n" \
3028" A module can be aliased more than once.\n" \
3029"\n" \
3030" options <mod_name|alias_name> <symbol=value...>\n" \
3031" When loading module mod_name (or the module aliased by alias_name), pass\n" \
3032" the \"symbol=value\" pairs as option to that module.\n" \
3033"\n" \
3034"Sample /etc/modules.conf file:\n" \
3035"\n" \
3036" options tulip irq=3\n" \
3037" alias tulip tulip2\n" \
3038" options tulip2 irq=4 io=0x308\n" \
3039"\n" \
3040"Other functionality offered by 'classic' modprobe is not available in\n" \
3041"this implementation.\n" \
3042"\n" \
3043"If module options are present both in the config file, and on the command line,\n" \
3044"then the options from the command line will be passed to the module _after_\n" \
3045"the options from the config file. That way, you can have defaults in the config\n" \
3046"file, and override them for a specific usage from the command line.\n"
3047#define modprobe_example_usage \
3048 "(with the above /etc/modules.conf):\n\n" \
3049 "$ modprobe tulip\n" \
3050 " will load the module 'tulip' with default option 'irq=3'\n\n" \
3051 "$ modprobe tulip irq=5\n" \
3052 " will load the module 'tulip' with option 'irq=5', thus overriding the default\n\n" \
3053 "$ modprobe tulip2\n" \
3054 " will load the module 'tulip' with default options 'irq=4 io=0x308',\n" \
3055 " which are the default for alias 'tulip2'\n\n" \
3056 "$ modprobe tulip2 irq=8\n" \
3057 " will load the module 'tulip' with default options 'irq=4 io=0x308 irq=8',\n" \
3058 " which are the default for alias 'tulip2' overridden by the option 'irq=8'\n\n" \
3059 " from the command line\n\n" \
3060 "$ modprobe tulip2 irq=2 io=0x210\n" \
3061 " will load the module 'tulip' with default options 'irq=4 io=0x308 irq=4 io=0x210',\n" \
3062 " which are the default for alias 'tulip2' overridden by the options 'irq=2 io=0x210'\n\n" \
3063 " from the command line\n"
3064
3065#define more_trivial_usage \ 2836#define more_trivial_usage \
3066 "[FILE]..." 2837 "[FILE]..."
3067#define more_full_usage "\n\n" \ 2838#define more_full_usage "\n\n" \
@@ -5208,34 +4979,13 @@ INSERT
5208#define who_full_usage "\n\n" \ 4979#define who_full_usage "\n\n" \
5209 "Show who is logged on\n" \ 4980 "Show who is logged on\n" \
5210 "\nOptions:" \ 4981 "\nOptions:" \
5211 "\n -a show all" \ 4982 "\n -a Show all" \
5212 4983
5213#define whoami_trivial_usage \ 4984#define whoami_trivial_usage \
5214 "" 4985 ""
5215#define whoami_full_usage "\n\n" \ 4986#define whoami_full_usage "\n\n" \
5216 "Print the user name associated with the current effective user id" 4987 "Print the user name associated with the current effective user id"
5217 4988
5218#define xargs_trivial_usage \
5219 "[OPTIONS] [PROG ARGS]"
5220#define xargs_full_usage "\n\n" \
5221 "Run PROG on every item given by stdin\n" \
5222 "\nOptions:" \
5223 IF_FEATURE_XARGS_SUPPORT_CONFIRMATION( \
5224 "\n -p Ask user whether to run each command") \
5225 "\n -r Don't run command if input is empty" \
5226 IF_FEATURE_XARGS_SUPPORT_ZERO_TERM( \
5227 "\n -0 Input is separated by NUL characters") \
5228 "\n -t Print the command on stderr before execution" \
5229 "\n -e[STR] STR stops input processing" \
5230 "\n -n N Pass no more than N args to PROG" \
5231 "\n -s N Pass command line of no more than N bytes" \
5232 IF_FEATURE_XARGS_SUPPORT_TERMOPT( \
5233 "\n -x Exit if size is exceeded") \
5234
5235#define xargs_example_usage \
5236 "$ ls | xargs gzip\n" \
5237 "$ find . -name '*.c' -print | xargs rm\n"
5238
5239#define zcat_trivial_usage \ 4989#define zcat_trivial_usage \
5240 "FILE" 4990 "FILE"
5241#define zcat_full_usage "\n\n" \ 4991#define zcat_full_usage "\n\n" \