parallel
[Top][All Lists]
Advanced

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

Re: problem using nested parallel


From: Ole Tange
Subject: Re: problem using nested parallel
Date: Sun, 1 May 2011 11:29:47 +0200

On Sun, May 1, 2011 at 1:55 AM, Shantanu Unknown
<shantanu9847@hotmail.com> wrote:

> So I do
> cat filename|  seq 19 22 | parallel -j1  echo "{1}/output/{2}"
> and for each row of contents of filename I want
> <filenamecontent>/output19
> <filenamecontent>/output20
> <filenamecontent>/output21
> <filenamecontent>/output22

I am constantly trying to make the man page better.

Have you read the examples in the man page? (In particular this:
http://www.gnu.org/software/parallel/man.html#example__use_multiple_inputs_in_one_command
)

If you have not: What could I do to make you read that?

If you have and you still do not know how fix your problem the answer
below. Please help re-write the section of the manual so you would
have known what to do.

parallel -k echo {1}/output/{2} :::: filename <(seq 19 22)

or

parallel -k -a filename -a <(seq 19 22) echo {1}/output/{2}

You may need to use bash to get the <() to work.


/Ole



reply via email to

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