diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-09-22 20:22:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-09-22 20:22:28 +0000 |
commit | 5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d (patch) | |
tree | ba51e2cba249df7bf64b5826ebbbe654a4d24250 /docs | |
parent | ebc0dd7a8a553ee1a3b4293975b02aa1578cac07 (diff) | |
download | busybox-w32-5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d.tar.gz busybox-w32-5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d.tar.bz2 busybox-w32-5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d.zip |
Use minix xargs instead, and update docs accordingly
-Erik
Diffstat (limited to 'docs')
-rw-r--r-- | docs/busybox.pod | 28 | ||||
-rw-r--r-- | docs/busybox.sgml | 37 |
2 files changed, 61 insertions, 4 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod index e12c8243c..5caf1de7d 100644 --- a/docs/busybox.pod +++ b/docs/busybox.pod | |||
@@ -64,8 +64,8 @@ mkfifo, mkfs.minix, mknod, mkswap, mktemp, more, mount, mt, mv, nc, nslookup, | |||
64 | ping, poweroff, printf, ps, pwd, rdate, reboot, renice, reset, rm, rmdir, | 64 | ping, poweroff, printf, ps, pwd, rdate, reboot, renice, reset, rm, rmdir, |
65 | rmmod, sed, setkeycodes, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail, | 65 | rmmod, sed, setkeycodes, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail, |
66 | tar, tee, telnet, test, touch, tr, true, tty, umount, uname, uniq, unix2dos, | 66 | tar, tee, telnet, test, touch, tr, true, tty, umount, uname, uniq, unix2dos, |
67 | unrpm, update, uptime, usleep, uudecode, uuencode, wc, which, whoami, yes, | 67 | unrpm, update, uptime, usleep, uudecode, uuencode, wc, which, whoami, xargs, |
68 | zcat, [ | 68 | yes, zcat, [ |
69 | 69 | ||
70 | ------------------------------- | 70 | ------------------------------- |
71 | 71 | ||
@@ -1105,7 +1105,7 @@ Example: | |||
1105 | 1105 | ||
1106 | =item ls | 1106 | =item ls |
1107 | 1107 | ||
1108 | Usage: ls [B<-1acdelnpuxACFR>] [filenames...] | 1108 | Usage: ls [B<-1acdelnpuxACFLR>] [filenames...] |
1109 | 1109 | ||
1110 | Options: | 1110 | Options: |
1111 | 1111 | ||
@@ -1124,6 +1124,7 @@ Options: | |||
1124 | -C list entries by columns | 1124 | -C list entries by columns |
1125 | -F append indicator (one of */=@|) to entries | 1125 | -F append indicator (one of */=@|) to entries |
1126 | -R list subdirectories recursively | 1126 | -R list subdirectories recursively |
1127 | -L list entries pointed to by symbolic links | ||
1127 | 1128 | ||
1128 | ------------------------------- | 1129 | ------------------------------- |
1129 | 1130 | ||
@@ -2080,6 +2081,25 @@ Example: | |||
2080 | 2081 | ||
2081 | ------------------------------- | 2082 | ------------------------------- |
2082 | 2083 | ||
2084 | =item xargs | ||
2085 | |||
2086 | Usage: xargs [OPTIONS] [COMMAND] [ARGS...] | ||
2087 | |||
2088 | Executes COMMAND on every item given by standard input. | ||
2089 | |||
2090 | Options: | ||
2091 | |||
2092 | -t Print the command just before it is run | ||
2093 | -l LEN Use LEN as maximum line length (default 490, max 1023) | ||
2094 | -e ENDING Append ENDING to the command before executing it. | ||
2095 | |||
2096 | Example: | ||
2097 | |||
2098 | $ ls | xargs gzip | ||
2099 | $ find . -name '*.c' -print | xargs rm | ||
2100 | |||
2101 | ------------------------------- | ||
2102 | |||
2083 | =item yes | 2103 | =item yes |
2084 | 2104 | ||
2085 | Usage: yes [OPTION]... [STRING]... | 2105 | Usage: yes [OPTION]... [STRING]... |
@@ -2182,4 +2202,4 @@ Enrique Zanardi <ezanardi@ull.es> | |||
2182 | 2202 | ||
2183 | =cut | 2203 | =cut |
2184 | 2204 | ||
2185 | # $Id: busybox.pod,v 1.70 2000/09/21 02:06:35 andersen Exp $ | 2205 | # $Id: busybox.pod,v 1.71 2000/09/22 20:22:27 andersen Exp $ |
diff --git a/docs/busybox.sgml b/docs/busybox.sgml index e8a91fa05..e213ca1b2 100644 --- a/docs/busybox.sgml +++ b/docs/busybox.sgml | |||
@@ -1922,6 +1922,7 @@ | |||
1922 | -A Do not list implied . and .. | 1922 | -A Do not list implied . and .. |
1923 | -C List entries by columns | 1923 | -C List entries by columns |
1924 | -F Append indicator (one of */=@|) to entries | 1924 | -F Append indicator (one of */=@|) to entries |
1925 | -L list entries pointed to by symbolic links | ||
1925 | -R List subdirectories recursively | 1926 | -R List subdirectories recursively |
1926 | </screen> | 1927 | </screen> |
1927 | </para> | 1928 | </para> |
@@ -3659,6 +3660,42 @@ | |||
3659 | </para> | 3660 | </para> |
3660 | </sect1> | 3661 | </sect1> |
3661 | 3662 | ||
3663 | <sect1 id="xargs"> | ||
3664 | <title>xargs</title> | ||
3665 | |||
3666 | <para> | ||
3667 | Usage: xargs [OPTIONS] [COMMAND] [ARGS...] | ||
3668 | </para> | ||
3669 | |||
3670 | <para> | ||
3671 | Executes COMMAND on every item given by standard input. | ||
3672 | </para> | ||
3673 | |||
3674 | <para> | ||
3675 | Options: | ||
3676 | </para> | ||
3677 | |||
3678 | <para> | ||
3679 | <screen> | ||
3680 | -t Print the command just before it is run | ||
3681 | -l LEN Use LEN as maximum line length (default 490, max 1023) | ||
3682 | -e ENDING Append ENDING to the command before executing it. | ||
3683 | </screen> | ||
3684 | </para> | ||
3685 | |||
3686 | |||
3687 | <para> | ||
3688 | Example: | ||
3689 | </para> | ||
3690 | |||
3691 | <para> | ||
3692 | <screen> | ||
3693 | $ ls | xargs gzip | ||
3694 | $ find . -name '*.c' -print | xargs rm | ||
3695 | </screen> | ||
3696 | </para> | ||
3697 | </sect1> | ||
3698 | |||
3662 | <sect1 id="yes"> | 3699 | <sect1 id="yes"> |
3663 | <title>yes</title> | 3700 | <title>yes</title> |
3664 | 3701 | ||