/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
read -p "do you want to continue?" -n 1 -r if [[ $REPLY =~ ^[Yy]$ ]] then #do whatever you are checking on fi
read -p "do you want to continue?" -n 1 -r if [[ $REPLY =~ ^[Yy]$ ]] then #do whatever you are checking on fi