Miner, Jonathan W (CSC) (US SSA) wrote:
... got the shell to do looping without creating a file.
Just type it in...
bash-3.2$ i=0; while [ $i -lt 10 ]; do echo $i; i=`expr $i + 1`; done
i=0; while [ $i -lt 10 ]; do echo $((i++)); done
--
Cheers
John
-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
Please do not reply off-list
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list