PageRenderTime 54ms CodeModel.GetById 41ms app.highlight 2ms RepoModel.GetById 10ms app.codeStats 0ms

/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
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
 1#! /bin/sh
 2# $Id: yesno-utf8,v 1.7 2010/01/14 01:11:23 tom Exp $
 3
 4. ./setup-vars
 5
 6. ./setup-utf8
 7
 8DIALOG_ERROR=254
 9export DIALOG_ERROR
10
11$DIALOG "$@" --yesno "Are you a DOG?" 0 0
12retval=$?
13
14. ./report-yesno