/contrib/dialog/samples/timebox-stdout

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 10 lines · 4 code · 4 blank · 2 comment · 0 complexity · 880b586058699fa437188f5929b978c4 MD5 · raw file

  1. #!/bin/sh
  2. # $Id: timebox-stdout,v 1.5 2010/01/13 10:37:19 tom Exp $
  3. . ./setup-vars
  4. RESULT=`$DIALOG --stdout --title "TIMEBOX" "$@" --timebox "Please set the time..." 0 0 12 34 56`
  5. retval=$?
  6. . ./report-string