Guest User

Untitled

a guest
Feb 21st, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. while [ "$os" != "linux32" ]
  2. do
  3.         echo -n "Please enter a valid OS (linux32, linux64, osx32, osx64):"
  4.         read os
  5.         case $os in
  6.             linux32)
  7.                 echo "linux 32"
  8.             ;;
  9.             linux64)
  10.                 echo "linux 64"
  11.             ;;
  12.             osx32)
  13.                 echo "osx 32"
  14.             ;;
  15.             osx64)
  16.                 echo "osx 64"
  17.              ;;
  18.             *)
  19.         ;;
  20.         esac
  21. done
Add Comment
Please, Sign In to add comment