[Top][All Lists]

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

Re: -0/--null behavior with --pipe

From: Ole Tange
Subject: Re: -0/--null behavior with --pipe
Date: Tue, 24 Apr 2018 00:02:19 +0200

On Fri, Apr 20, 2018 at 1:51 PM, Jean-Baptiste Denis <address@hidden> wrote:

> I'm wondering if I'm missing something about -0/--null behavior with --pipe.

--recstart and --recend are for --pipe. -d (and -0) is for normal use.

You can, however, combine them:

seq 1000000 | parallel -0 -j3 --block 60k --round-robin --pipe echo
This worker is {}\;wc ::: red green blue

And thus you can also do:

printf '%s\0' red green blue > rgb.null
seq 1000000 | parallel -0 -j3 --block 60k --round-robin --pipe echo
This worker is {}\;wc :::: rgb.null

I really need a good example where using the combination would be the
obvious solution to a problem (and where you could not just use {%} or


seq 1000000 | parallel --block 10k --pipe echo This worker is the
{}\;wc :::: ordinal.txt

> What do you think ?

I think you are looking for --recend.

Help me change the documentation, so this would be more clear to you.


reply via email to

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