projects
/
whiptailexamples
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
colors example
[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