/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

  1. #! /bin/sh
  2. # $Id: yesno-utf8,v 1.7 2010/01/14 01:11:23 tom Exp $
  3. . ./setup-vars
  4. . ./setup-utf8
  5. DIALOG_ERROR=254
  6. export DIALOG_ERROR
  7. $DIALOG "$@" --yesno "Are you a DOG?" 0 0
  8. retval=$?
  9. . ./report-yesno