Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while [[ "$#" > 0 ]]; do case $1 in
- -country) country="$2"; shift;shift;;
- *) echo "Unknown parameter passed: $1";shift;shift;;
- esac; done
- if [[ $country = "sverige" ]] || [[ $country = "danmark" ]] || [[ $country = "norge" ]]
- then
- echo "Du bor i skandinavien."
- else
- echo "Du bor inte i scandinavien"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement