bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports GNU Parallel 20170206alpha released


From: Ole Tange
Subject: GNU Parallel Bug Reports GNU Parallel 20170206alpha released
Date: Mon, 6 Feb 2017 19:33:05 +0100

GNU Parallel 20170206alpha has been released. It is available for
download at: http://alpha.gnu.org/gnu/parallel/

I would appreciate if people tried out the new features.

New in this release:

* --tee makes it possible to send all input to multiple jobs. The jobs
can be generated using normal GNU Parallel syntax:

  seq 1000 | parallel --pipe --tee -v wc {} ::: -w -l -c

is a shorthand for:

  seq 1000 | tee >(wc -w) >(wc -l) >(wc -c) >/dev/null

but with added GNU Parallel sugar, so output from the jobs will be
buffered and the normal GNU Parallel output options will work.

How many numbers in 1..1000 contain 0..9, and how many bytes do they fill:

  seq 1000 | parallel --pipe --tee --tag 'grep {1} | wc {2}' :::
{0..9} ::: -l -c

How many words contain a..z and how many bytes do they fill?

  parallel -a /usr/share/dict/words --pipepart --tee --tag \
                   'grep {1} | wc {2}' ::: {a..z} ::: -l -c

--tee can deliver around 2 GB/s.

Better examples welcome.

--tee has not been thoroughly tested, so it probably has bugs when
combined with other options.

* Bug fixes and man page updates.

GNU Parallel - For people who live life in the parallel lane.


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]