[BusyBox] more docs fixups
Robert P. J. Day
rpjday at mindspring.com
Sun May 2 23:11:07 UTC 2004
(findutils directory)
find:
docs don't mention "-xdev" option
grep:
all kinds of inconsistency here.
grep [-ihHnqvs] PATTERN [FILEs...]
Options:
-H prefix output lines with filename where match was found
-h suppress the prefixing filename on output
-i ignore case distinctions
-l list names of files that match
-n print line number with output lines
-q be quiet. Returns 0 if result was found, 1 otherwise
-v select non-matching lines
-s suppress file open/read error messages
note how the synopsis doesn't mention "-l". but notice the line from
the source file grep.c:
#define GREP_OPTS "lnqvscFiHhe:f:"
seems to be several undocumented options: -e, -f, -F, etc.
xargs:
-p Prompt the user about whether to run each command
-r Do not run command for empty readed lines
-x Exit if the size is exceeded
-0 Input filenames are terminated by a null character
-t Print the command line on stderr before executing it.
however, from xargs.c:
"Usage: %s [-p] [-r] [-t] -[x] [-n max_arg] [-s max_chars]
no mention of "-O", but definitely a "-n" and "-s" not documented.
rday
More information about the busybox
mailing list