Excerpts from Alex Samad's message of Mon Apr 14 07:13:12 +1000 2008: > On Mon, Apr 14, 2008 at 02:24:50AM +1000, elliott-brennan wrote: > > Hi all, > > > [snip] > > > > $ for i in `seq 1 999`;do j=`printf %04d $i`; composite -compose atop > > bubbles.png 0*.png image$j.png; done > > > > but I get the following error: > > > > bash: syntax error near unexpected token `do' > > works here > for i in `seq 1 999`;do echo j=`printf %04d $i`; echo composite -compose > atop bubbles.png 0*.png image$j.png; done | head > j=0001 > composite -compose atop bubbles.png 0*.png image0067.png > j=0002 > composite -compos
or: seq 1 999 | xargs -n1 -i composite -compose atop bubbles.png 0*.png image$(printf '%04d' {}).png The -t option to xargs will give you a verbose option rgh > > > > I know I'm complete crap at this stuff...but...well, I'm complete crap. > > Just trying to work it out really :)) > > > > Any assistance would be most appreciated. > > > > Regards, > > > > Patrick > > > > -- > > Registered GNU/Linux User 368634 > > -- > > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > > > -- +61 (0) 410 646 369 [EMAIL PROTECTED] You're worried criminals will continue to penetrate into cyberspace, and I'm worried complexity, poor design and mismanagement will be there to meet them - Marcus Ranum !DSPAM:48027b83198721010745441! -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html