summaryrefslogtreecommitdiffstats
path: root/contrib/dialog/samples/calendar2
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dialog/samples/calendar2')
-rwxr-xr-xcontrib/dialog/samples/calendar211
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/dialog/samples/calendar2 b/contrib/dialog/samples/calendar2
new file mode 100755
index 0000000..f6214ce
--- /dev/null
+++ b/contrib/dialog/samples/calendar2
@@ -0,0 +1,11 @@
+#!/bin/sh
+# $Id: calendar2,v 1.8 2010/01/13 10:20:03 tom Exp $
+
+. ./setup-vars
+
+exec 3>&1
+RESULT=`$DIALOG --title "CALENDAR" "$@" --calendar "Please choose a date..." 0 0 2>&1 1>&3`
+retval=$?
+exec 3>&-
+
+. ./report-string
OpenPOWER on IntegriCloud