[Vm-dev] with: do: in (ba)sh scripts

Eliot Miranda eliot.miranda at gmail.com
Fri Jun 13 18:46:33 UTC 2014


Hi All,

    anyone know of the nicest way of doing with: do: in bash?  Right now
I've found the following and I think it stinks:

set -- firstone firsttwo firstthree
for v in secondone secondtwo secondthree
do
    blah $1 $v
    shift
done
-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140613/77c45ad9/attachment.htm


More information about the Vm-dev mailing list