freebsd-dev/gnu/usr.bin/dialog/TESTS/prgbox
1995-02-13 19:49:42 +00:00

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