projects
/
whiptailexamples
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
readme and license
[whiptailexamples/.git]
/
yesno2.sh
1
#!/bin/bash
2
if (whiptail --title "Test Yes/No Box" --yes-button "Skittles" --no-button "M&M's" --yesno "Which do you like better?" 10 60) then
3
echo "You chose Skittles Exit status was $?."
4
else
5
echo "You chose M&M's. Exit status was $?."
6
fi