diff options
Diffstat (limited to 'contrib/dialog/samples/yesno-utf8')
-rwxr-xr-x | contrib/dialog/samples/yesno-utf8 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/dialog/samples/yesno-utf8 b/contrib/dialog/samples/yesno-utf8 new file mode 100755 index 0000000..4a6be30 --- /dev/null +++ b/contrib/dialog/samples/yesno-utf8 @@ -0,0 +1,14 @@ +#! /bin/sh +# $Id: yesno-utf8,v 1.7 2010/01/14 01:11:23 tom Exp $ + +. ./setup-vars + +. ./setup-utf8 + +DIALOG_ERROR=254 +export DIALOG_ERROR + +$DIALOG "$@" --yesno "Are you a DOG?" 0 0 +retval=$? + +. ./report-yesno |