From 05df239ed90584156b820dbf3ede638208eb440f Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Thu, 13 Jan 2000 04:43:48 +0000 Subject: Bug fixes. -Erik --- docs/CommandList | 104 +++++++++++++++++++------------------------------------ 1 file changed, 35 insertions(+), 69 deletions(-) (limited to 'docs/CommandList') diff --git a/docs/CommandList b/docs/CommandList index 39c72a17a..8c0a01e23 100644 --- a/docs/CommandList +++ b/docs/CommandList @@ -12,6 +12,9 @@ ________________________________________________________________________________ BusyBox 0.38, Functions and the Arguments they Support +New Apps that have been added to BusyBox since this document was written: + ping, hostname, mkfifo, free, tail, du, tee, head, sort, uniq, lsmod, rmmod, fbset, and loadacm. + ______________________________________________________________________________________________________ @@ -154,7 +157,7 @@ cp [option] fileA fileB attributes group permissions and time information. - -R recursive Copy to the current location and all subdirectories in the tree. + -R recursive Copies directories recursively @@ -321,7 +324,7 @@ fsck.minix [-larvsmf] /dev/name -r Perform interactive repairs. - -q Perform automatic repairs + -a Perform automatic repairs -v Verbose @@ -712,29 +715,30 @@ ________________________________________________________________________________ - sed + Usage: sed [-n] -e script [file...] - Sed scripts are subject to the following format: 's/regexp/replacement/[gp]' which attempts to - - to match regexp against the pattern space and if successful, replaces the matched portion with - - replacement -r or -R Remove contents of directories recursively. - - - - -________________________________________________________________________________________________________ - - - - + Allowed sed scripts come in the following form: + 'ADDR [!] COMMAND' -rmdir [OPTION] ... directory + where address ADDR can be: + NUMBER Match specified line number + $ Match last line + /REGEXP/ Match specified regexp + (! inverts the meaning of the match) - Remove directories if they are empty. + and COMMAND can be: + s/regexp/replacement/[igp] + which attempt to match regexp against the pattern space + and if successful replaces the matched portion with replacement. + aTEXT + which appends TEXT after the pattern space + Options: + -e add the script to the commands to be executed + -n suppress automatic printing of pattern space + This version of sed matches full regular expresions. @@ -744,51 +748,6 @@ ________________________________________________________________________________ -rmdir [OPTION] ... directory - - Remove directories if they are empty. - - - - -________________________________________________________________________________________________________ - - - - - -sed - - Sed scripts are subject to the following format: 's/regexp/replacement/[gp]' which attempts to - - match regexp against the pattern space and if successful, replaces the matched portion with - - replacement. This version of sed matches - - full regular expressions. - - -e Add the script to the commands to be executed. - - -n Suppress automatic printing of pattern space.. - - -e Add the script to the commands to be executed. - - -n Suppress automatic printing of pattern space.. - - -e Add the script to the commands to be executed. - - -n Suppress automatic printing of pattern space. - - - - - -________________________________________________________________________________________________________ - - - - - sleep N Pause for N seconds. @@ -977,10 +936,14 @@ ________________________________________________________________________________ zcat [options] files - Uncompress file from gzip, gunzip or compress command or standard input if file is '-'. + Usage: zcat [OPTION]... FILE - -c Write output to standard output. + Uncompress FILE (or standard input if FILE is '-'). + (When invoked as zcat, defaults to having -c turned on) + Options: + -c Write output to standard output + -t Test compressed file integrity @@ -991,7 +954,7 @@ ________________________________________________________________________________ -gunzip (Same as zcat) +gunzip (Same as zcat, but without the "-c" option.) @@ -1003,10 +966,13 @@ ________________________________________________________________________________ +gzip [OPTION]... FILE -gzip (Same as zcat) - + Compress FILE with maximum compression. + When FILE is -, reads standard input. Implies -c. + Options: + -c Write output to standard output instead of FILE.gz -- cgit v1.2.3