]> err.no Git - moreutils/commitdiff
update
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 10 Jul 2009 15:01:25 +0000 (11:01 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 10 Jul 2009 15:01:25 +0000 (11:01 -0400)
parallel.docbook

index fccdfd841037cb74da4d5af618234dfe712e51dd..9d5714c2b7d404050685861ab5a1f8241711ab88 100644 (file)
@@ -93,12 +93,15 @@ Written by Joey Hess
                
        <para>
        <cmdsynopsis>
-               <command>parallel ufraw -o processed -- *.NEF</command>
+               <command>parallel sh -c "echo hi; sleep 2; echo bye" -- 1 2 3</command>
        </cmdsynopsis>
        </para>
 
-       <para>This runs one ufraw process per available CPU, until
-       all of the NEF files have been processed.
+       <para>This runs three subshells that each print a message, delay,
+               and print another message. If yours system has multiple
+               CPUs, parallel will run some of the jobs in parallel,
+               which should be clear from the order the messages are
+               output.
        </para>
                
        <para>