summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric Andersen2000-09-22 20:22:28 +0000
committerEric Andersen2000-09-22 20:22:28 +0000
commit5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d (patch)
treeba51e2cba249df7bf64b5826ebbbe654a4d24250 /docs
parentebc0dd7a8a553ee1a3b4293975b02aa1578cac07 (diff)
downloadbusybox-5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d.zip
busybox-5b17693f0a07d0fa8af08e3c0d6b43c7b826a13d.tar.gz
Use minix xargs instead, and update docs accordingly
-Erik
Diffstat (limited to 'docs')
-rw-r--r--docs/busybox.pod28
-rw-r--r--docs/busybox.sgml37
2 files changed, 61 insertions, 4 deletions
diff --git a/docs/busybox.pod b/docs/busybox.pod
index e12c824..5caf1de 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,
ping, poweroff, printf, ps, pwd, rdate, reboot, renice, reset, rm, rmdir,
rmmod, sed, setkeycodes, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail,
tar, tee, telnet, test, touch, tr, true, tty, umount, uname, uniq, unix2dos,
-unrpm, update, uptime, usleep, uudecode, uuencode, wc, which, whoami, yes,
-zcat, [
+unrpm, update, uptime, usleep, uudecode, uuencode, wc, which, whoami, xargs,
+yes, zcat, [
-------------------------------
@@ -1105,7 +1105,7 @@ Example:
=item ls
-Usage: ls [B<-1acdelnpuxACFR>] [filenames...]
+Usage: ls [B<-1acdelnpuxACFLR>] [filenames...]
Options:
@@ -1124,6 +1124,7 @@ Options:
-C list entries by columns
-F append indicator (one of */=@|) to entries
-R list subdirectories recursively
+ -L list entries pointed to by symbolic links
-------------------------------
@@ -2080,6 +2081,25 @@ Example:
-------------------------------
+=item xargs
+
+Usage: xargs [OPTIONS] [COMMAND] [ARGS...]
+
+Executes COMMAND on every item given by standard input.
+
+Options:
+
+ -t Print the command just before it is run
+ -l LEN Use LEN as maximum line length (default 490, max 1023)
+ -e ENDING Append ENDING to the command before executing it.
+
+Example:
+
+ $ ls | xargs gzip
+ $ find . -name '*.c' -print | xargs rm
+
+-------------------------------
+
=item yes
Usage: yes [OPTION]... [STRING]...
@@ -2182,4 +2202,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut
-# $Id: busybox.pod,v 1.70 2000/09/21 02:06:35 andersen Exp $
+# $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 e8a91fa..e213ca1 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -1922,6 +1922,7 @@
-A Do not list implied . and ..
-C List entries by columns
-F Append indicator (one of */=@|) to entries
+ -L list entries pointed to by symbolic links
-R List subdirectories recursively
</screen>
</para>
@@ -3659,6 +3660,42 @@
</para>
</sect1>
+ <sect1 id="xargs">
+ <title>xargs</title>
+
+ <para>
+ Usage: xargs [OPTIONS] [COMMAND] [ARGS...]
+ </para>
+
+ <para>
+ Executes COMMAND on every item given by standard input.
+ </para>
+
+ <para>
+ Options:
+ </para>
+
+ <para>
+ <screen>
+ -t Print the command just before it is run
+ -l LEN Use LEN as maximum line length (default 490, max 1023)
+ -e ENDING Append ENDING to the command before executing it.
+ </screen>
+ </para>
+
+
+ <para>
+ Example:
+ </para>
+
+ <para>
+ <screen>
+ $ ls | xargs gzip
+ $ find . -name '*.c' -print | xargs rm
+ </screen>
+ </para>
+ </sect1>
+
<sect1 id="yes">
<title>yes</title>