/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

  1. #!/bin/sh
  2. # $Id: inputbox6-8bit,v 1.6 2010/01/13 10:20:03 tom Exp $
  3. . ./setup-vars
  4. . ./setup-tempfile
  5. . ./testdata-8bit
  6. $DIALOG \
  7. --title `printf "$SAMPLE"` "$@" \
  8. --inputbox `printf "$SAMPLE"` \
  9. 10 40 `printf "$SAMPLE"` 2>$tempfile
  10. retval=$?
  11. . ./report-tempfile