Created
October 13, 2021 04:11
-
-
Save chrisdavidmiles/5618d64728b4d0408bf8e148141a658d to your computer and use it in GitHub Desktop.
Press ENTER to continue (bash)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
continue_prompt () { | |
echo "Press ENTER to continue" | |
read -n 1 confirm | |
if [ ! "$confirm" = "" ]; then | |
exit | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment