]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/dialog/samples/inputbox6-utf8
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / dialog / samples / inputbox6-utf8
1 #!/bin/sh
2 # $Id: inputbox6-utf8,v 1.8 2010/01/13 10:20:03 tom Exp $
3
4 . ./setup-vars
5
6 . ./setup-tempfile
7
8 . ./setup-utf8
9
10 $DIALOG \
11 --title    `printf "\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\xe3\x81\x8a"` "$@" \
12 --inputbox `printf "\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\xe3\x81\x8a"` \
13 10 20 "D.O.G"      2>$tempfile
14
15 retval=$?
16
17 . ./report-tempfile