/contrib/dialog/samples/calendar3-stdout

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 9 lines · 4 code · 3 blank · 2 comment · 0 complexity · 524fe84d6cf17a5a5140b14987ccd618 MD5 · raw file

  1. #!/bin/sh
  2. # $Id: calendar3-stdout,v 1.6 2010/01/13 10:20:03 tom Exp $
  3. . ./setup-vars
  4. RESULT=`$DIALOG --extra-button --extra-label "Hold" --help-button --stdout --title "CALENDAR" "$@" --calendar "Please choose a date..." 0 0 7 7 1981`
  5. retval=$?
  6. . ./report-string