readme and license
[whiptailexamples/.git] / yesno.sh
1 #!/bin/bash
2 if (whiptail --title "Test Yes/No Box" --yesno "Choose between Yes and No." 10 60) then
3     echo "You chose Yes. Exit status was $?."
4 else
5     echo "You chose No. Exit status was $?."
6 fi