topical media & game development

talk show tell print

basic-shell-03-choose1.sh / sh



  
  echo "Which would you rather have,"
  echo "ksh, a platypus, or"
  echo -n "MS Word for Windows for Windows for Macintosh? "
  read choice
  
  case choice in
  ksh)
          echo "There are a lot of neat things you"
      echo "can do with the Korn shell."
  ;;
  platypus)
          echo "The Platypus Society thanks you."
  ;;
  "MS Word for Windows for Windows for Macintosh")
      echo "This is not a real product, you know."
  ;;
  esac
  


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