]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/dialog/samples/timebox
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / dialog / samples / timebox
1 #!/bin/sh
2 # $Id: timebox,v 1.9 2010/01/13 10:23:10 tom Exp $
3
4 . ./setup-vars
5
6 DIALOG_ERROR=254
7 export DIALOG_ERROR
8
9 exec 3>&1
10 RESULT=`$DIALOG --title "TIMEBOX" "$@" --timebox "Please set the time..." 0 0 12 34 56 2>&1 1>&3`
11 retval=$?
12 exec 3>&-
13
14 . ./report-string