Wednesday, March 23, 2011

01 to 11 in ksh sequence

worst case, i=1 n=11; while [ $i -le $n ]; do printf %02d\\n $i; i=$(expr $i + 1); done

--------------------------------------------------------------------------------

No comments: