Hi Ole,I tried parallel -k echo {1}/output/{2} :::: filename <(seq 19 22)in 
bash shell and I have cut and pasted exactly what you wrote and the first 7 
lines read
20110201095631_BCS0531-5043/output/1920110203185605_BCS2312-5346/output/2020110203192328_BCS2344-5529/output/2120110203194331_BCS2343-5455/output/2220110203200355_BCS2324-5239/output/20110203202358_BCS2320-5313/output/20110203204400_BCS2346-5239/output/
and the first 7 lines of the file 
are20110201095631_BCS0531-504320110203185605_BCS2312-534620110203192328_BCS2344-552920110203194331_BCS2343-545520110203200355_BCS2324-523920110203202358_BCS2320-531320110203204400_BCS2346-5239
and this is not what I want.

> From: [email protected]
> Date: Sun, 1 May 2011 21:50:23 +0200
> Subject: Re: problem using nested parallel
> To: [email protected]
> CC: [email protected]
> 
> On Sun, May 1, 2011 at 7:08 PM, Shantanu Unknown
> <[email protected]> wrote:
> > Hi Ole,
> > Neither of the two solutions you suggested are working for me.
> 
> Please include the output from what you get when running it.
> 
> > I am using
> > GNU parallel version 20101125 (Is that too old)?
> 
> No: :::: was implemented in 20100722.
> 
> > When I tried bash shell, it only gave <contentsof file>/output/
> 
> It works fine with parallel-20101115 running bash:
> 
> $ (echo a;echo b;echo c;echo d) > filename
> $ parallel-20101115 -k echo {1}/output/{2} :::: filename <(seq 19 22)
> a/output/19
> b/output/20
> c/output/21
> d/output/22
> 
> Are you sure you are copying the command exactly? (Use copy/paste - do
> not trust your eyes)
> 
> > Also I did read the examples on the man page and thought I had implemented
> > things correctly based on the examples.
> 
> Does the example from the man page work on your system?
Yes, the following example from the man page worked on my system ls *.es.* | 
perl -pe 'print; s/\.es//' | parallel -N2 cp {1} {2}
So I am guessing, something wrong with echo and nested parallel ?
> 
> /Ole
                                          

Reply via email to