[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: #518696 ITP: parallel -- build and execute command lines from standard input in parallel]

Samuel Thibault <samuel.thibault@ens-lyon.org> writes:

> Package: wnpp
> Version: N/A; reported 2009-03-08
> Severity: wishlist
> * Package name    : parallel
>   Version         : 20090218
>   Upstream Author : Ole Tange
> * URL             : https://savannah.nongnu.org/projects/parallel/
> * License         : GPLv3
>   Description     : build and execute command lines from standard input in parallel
>  For each line of input parallel will execute command with the line
>  as arguments. If no command is given the line of input is executed.
>  parallel can often be used as a substitute for xargs or cat | sh.
Did you know about the `-P' option of GNU xargs? IIUC, it does quite the
same thing -- what does 'parallel' offer of that functionality?

>From xargs(1):

       -P max-procs
              Run up to max-procs processes at a time; the default is 1.
              If max- procs is 0, xargs will run as many processes as
              possible at a time.  Use the -n option with -P; otherwise
              chances are that only one exec will be done.

Regards, Rotty

Reply to: