[Vm-dev] with: do: in (ba)sh scripts
gettimothy at zoho.com
Fri Jun 13 18:55:11 UTC 2014
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
blah $1 $v
I don't know if it is the nicest, but it is nicer.
see 'iterate through array values' example here:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev