Re: Difference between for and while loop

2006-03-20 Thread Michelle Konzack
+--- | let C=1 | for X in a b c d e ; do | echo "$C: $X" | let C=$C+1 | done +--- "for" is working on a list of arguments (here: a b c d e) while +--- | let C=1 | while [ $C -lt 10 ] ; do | echo "$C" | le

Re: Difference between for and while loop

2006-03-14 Thread pasunuri reddy
Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.