On Sun, 9 Mar 2008, Alex Samad <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 09, 2008 at 12:07:45AM +1100, Felix Sheldon wrote:
> > It looks like you might be using single quotes and not back-ticks (on
> > the ~ key).
> >
> > This works for me, with the echo in there at least.
> >
> > for i in `seq 1 125`; do j=`printf %06d $i`; echo montage -geometry +4+4
> > a_$j.jpeg b_$j.jpeg c_$j.jpeg d_$j.jpeg montage$j.jpeg; done
>
> you can also use $( some-command )

Which can be better as you can nest commands, like so:

  $($(command1)command2)


-- 
     "We like to think of ourselves as the Microsoft of the energy world"
                    - Kenneth Lay, former CEO of Enron

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to