topical media & game development

talk show tell print

basic-shell-03-c-for.sh / sh



  
  # C-language-like for loop.
  # Must be run with bash.
  
  max=10
  
  for ((i=1; i <= max ; i++))
  do
      echo -n "i..."
  done
  
  echo
  
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.