Cory Petkovsek wrote:
> This doesn't work on all bashes. Specifically bash on my solaris 8 box.
> Why not?
Because it's a bash extension, and because it's a recent bash
extension.
Here's a technique that worked as long ago as Seventh Edition
Unix (1978?)
# No #! here -- that won't be recognized until 4.1 BSD.
i=4
while [ "$i" -lt 12 ]
do
echo $i
i="`expr $i + 1`"
done
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug