topical media & game development

talk show tell print

basic-shell-11-debug-done.sh / sh



  # Has an error in a for loop.
  #
  
  for filename in *.doc
  do
      echo "Copying filename to filename.bak"
      cp filename filename.bak    
  # done
  
  echo "Completed backup operation on `date`."
  


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