/contrib/dialog/samples/inputbox6-8bit
https://bitbucket.org/freebsd/freebsd-head/ · Shell · 17 lines · 9 code · 6 blank · 2 comment · 0 complexity · 598e5229bed1ae52e5d944bbc0d768e4 MD5 · raw file
- #!/bin/sh
- # $Id: inputbox6-8bit,v 1.6 2010/01/13 10:20:03 tom Exp $
- . ./setup-vars
- . ./setup-tempfile
- . ./testdata-8bit
- $DIALOG \
- --title `printf "$SAMPLE"` "$@" \
- --inputbox `printf "$SAMPLE"` \
- 10 40 `printf "$SAMPLE"` 2>$tempfile
- retval=$?
- . ./report-tempfile