update docs for xargs
[oweals/busybox.git] / docs / busybox.sgml
index e8a91fa05eab33d129da53e61d1e6da920582097..9c017901180471db479bd97240243026c1dcfce4 100644 (file)
                        -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>
                </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
+               </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>