dialog
#!bin/sh
clear
if [
]
then
fi
--backtitle "
"
-
if [
]
then
--msgbox "
"
fi
.
valid=false
while ! $valid
do
--no-cancel
--inputbox "
"
2>tmp
=$(cat tmp)
rm tmp
done
--msgbox "
"
"
$
"
--title "
"
--no-cancel
--no-tags
--radiolist
--checklist
"
"
2>tmp
choice=$(cat tmp)
rm tmp
case $choice in
)
;;
esac
"
" "
"
on
off
=
/
-gt
-ge
-lt
-le
-
+
!=
*
**
%
] && [
] || [
$((
[
))
]
=
"
"
"false"
"true"
if
then
else
fi
while
do
done
!
=
"$
" = "
"
if [
]
then
valid=true
else
--title Error --msgbox "
"
fi
] || [
] && [
-
-
-
-
-
-
-
-
="$(
)"