Ole Tange writes:
> I have implemented --demux.
>
> I need help explaining what this is and how to use it.
>
> --demultiplex or --demux splits out a stream of records and give each
> record to a process based on the hash value of a column.
The database community would call this "sharding".
Regar
Hi
I am not sure how to do this properly - when I pipe a command to parallel,
execution of any subshells parallel's execution string happen before
parallel operates on each item.
How do I have parallel execute after each is called?
e.g.
seq 10 | parallel "echo `openssl rand -hex 6`-`openssl ran
Try this:
seq 10 | parallel "echo \$(openssl rand -hex 6)-\$(openssl rand -hex 6) {}"
or
seq 10 | parallel 'echo `openssl rand -hex 6`-`openssl rand -hex 6` {}'
Your shell is expanding the initial call to openssl when made within
double quotes.
--
Joe
On Fri, Feb 15, 2019 at 4:23 PM
On Fri, Feb 15, 2019 at 9:29 PM Achim Gratz wrote:
>
> Ole Tange writes:
> > I have implemented --demux.
> >
> > I need help explaining what this is and how to use it.
> >
> > --demultiplex or --demux splits out a stream of records and give each
> > record to a process based on the hash value of a
Thanks!!
On Fri, Feb 15, 2019 at 1:43 PM Joe Sapp wrote:
> Try this:
>
> seq 10 | parallel "echo \$(openssl rand -hex 6)-\$(openssl rand -hex
> 6) {}"
>
> or
>
> seq 10 | parallel 'echo `openssl rand -hex 6`-`openssl rand -hex 6` {}'
>
> Your shell is expanding the initial call to openss