- ask_them () {
- while true; do
- echo -n " Do you wish to continue? (y/n): "
- read Yn
- case $Yn in
- y|Y) echo "do this" ;;
- n|N) echo "do this instead" ;;
- *) echo "Please type either y or n" ;;
- esac
- done
- }
SHARE
TWEET
Untitled
a guest
Jul 1st, 2012
17
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

