13 lines
183 B
Bash
Executable File
13 lines
183 B
Bash
Executable File
#!/bin/sh
|
|
DIALOG=${DIALOG=/usr/bin/dialog}
|
|
|
|
$DIALOG --title "PROGRAM BOX: 'cal'" --clear \
|
|
--prgbox "cal" 13 27
|
|
|
|
case $? in
|
|
0)
|
|
echo "OK";;
|
|
*)
|
|
echo "Exit code:" $?;;
|
|
esac
|