PageRenderTime 21ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/contrib/dialog/samples/inputbox6-utf8

https://bitbucket.org/freebsd/freebsd-head/
Shell | 17 lines | 9 code | 6 blank | 2 comment | 0 complexity | b4efab6233d781d7f8573045e30d7d96 MD5 | raw file
 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"` \
1310 20 "D.O.G"	 2>$tempfile
14
15retval=$?
16
17. ./report-tempfile