[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: stupid bash tricks (how to loop on the command line)





> ... 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




<<winmail.dat>>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]