On Sun, May 1, 2011 at 1:55 AM, Shantanu Unknown
<[email protected]> 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