Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo -en "n Please write a number [1-5] to pick a language: "
- echo -en "n 1) English."
- echo -en "n 2) Spanish."
- echo -en "n 3) Italian."
- echo -en "n 4) so on..."
- echo -en "n 5) None of the Above."
- read langNum
- case $langNum in
- "1")
- # if English. pick an operating system (with switch case and var)
- ;;
- "2")
- # if Spanish. pick an operating system (with switch case and var)
- ;;
- "3")
- # if Italian. pick an operating system (with switch case and var)
- ;;
- "4")
- # if so on... pick an operating system (with switch case and var)
- ;;
- "5")
- # if None of the Above. pick an operating system (with switch case and var)
- ;;
- *)
- echo "Sorry, I don't understand, pick a number [1-5] related to the preferred language" ;;
- return ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement