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: Mon, 2 May 2011 12:36:05 +0000

On Mon, May 2, 2011 at 12:47 AM, Shantanu Unknown
<shantanu9847@hotmail.com> wrote:
>
>> cat filename | parallel seq 19 22 \| parallel -I @ echo {}/output@
>
> Yes this works.
> Thanks a lot for the help.

You can show your appreciation by promoting GNU Parallel. You can:

* Post the intro video http://www.youtube.com/watch?v=OpaiGYxkSuQ on
your blog/Twitter/Facebook/Linkedin/user group/mailing lists
* Write a review for your blog/Twitter/Facebook/Linkedin/user
group/mailing lists
* Help others use GNU Parallel when you see problems that can be
solved using GNU Parallel
* Request or build a package for your favourite distribution
* Join the mailing list http://lists.gnu.org/mailman/listinfo/parallel
* Invite me to speak at your next conference (Contact http://ole.tange.dk)

If GNU Parallel saves you money:

* Donate (or convince your company to donate) to FSF https://my.fsf.org/donate/

> However I would like to know why the other things which I tried

cat filename|  seq 19 22 | parallel -j1  echo "{1}/output/{2}"

This does not work, as seq does not read from stdin, and GNU Parallel
generates one line of output for each line of input.

> and what you had suggested did not work.

I had not understood your problem correctly, so I gave a solution to a
problem you did not have.


/Ole



reply via email to

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