Thursday, September 16, 2010

sh simple counted command line loops

For repeated predictable execution of times

i=64; while [ $i -ne 0 ]; do  echo $i; i=`expr $i - 1`; done

No comments:

Post a Comment