parallel
[Top][All Lists]
Advanced

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

Re: Use of multiple inputs (from documentation) not working for me


From: Ole Tange
Subject: Re: Use of multiple inputs (from documentation) not working for me
Date: Fri, 3 Dec 2010 16:43:24 +0100

On Fri, Dec 3, 2010 at 2:37 PM, Shantanu Unknown
<shantanu9847@hotmail.com> wrote:

> parallel -a <(seq 6) -a <(seq 6 -1 1) echo
> is not working for me
> It gives the error message
> Missing name for redirect.
> am using GNU parallel 20101115
> on a centos 64 bit machine and tcsh

I can reproduce this error in tcsh. I believe the <(command) contruct
may not be available in tcsh. If you figure out a way to do the
<(command) in tcsh, please let me know.

> But I am get same error in bash shell

It works fine for me in these two versions of bash:

GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu)
GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu)

I can even run this command from both bash and tcsh:

bash -c 'parallel -a <( seq 6 ) -a <( seq 6 -1 1 ) echo'

In either case it is not a bug in GNU Parallel - at most a bug in the
documentation. You can do this as a workaround:

seq 6 > col1
seq 6 -1 1 > col2
parallel -a col1 -a col2 echo


/Ole



reply via email to

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