/contrib/dialog/samples/yesno-utf8
https://bitbucket.org/freebsd/freebsd-head/ · Shell · 14 lines · 7 code · 5 blank · 2 comment · 0 complexity · aa0fb9041dab686f1fa3190e2c1fc279 MD5 · raw file
- #! /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