Skip to content

Instantly share code, notes, and snippets.

@cgkio
Last active August 29, 2015 13:57
Show Gist options
  • Save cgkio/9848781 to your computer and use it in GitHub Desktop.
Save cgkio/9848781 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "Do you wish to install this program?"
select yn in "Yes" "No"; do
case $yn in
Yes ) make install; break;;
No ) exit;;
esac
done
echo "Please enter some input: "
read input_variable
echo "You entered: $input_variable"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment