diff options
Diffstat (limited to 'Build/source/utils/dialog/dialog-1.1-20110707/samples/textbox-both')
-rwxr-xr-x | Build/source/utils/dialog/dialog-1.1-20110707/samples/textbox-both | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/utils/dialog/dialog-1.1-20110707/samples/textbox-both b/Build/source/utils/dialog/dialog-1.1-20110707/samples/textbox-both new file mode 100755 index 00000000000..78751531203 --- /dev/null +++ b/Build/source/utils/dialog/dialog-1.1-20110707/samples/textbox-both @@ -0,0 +1,21 @@ +#!/bin/sh +# $Id: textbox-both,v 1.1 2011/01/18 09:59:47 tom Exp $ + +. ./setup-vars + +. ./setup-tempfile + +TEXT=/usr/share/common-licenses/GPL +test -f $TEXT || TEXT=../COPYING + +cat textbox.txt | expand > $tempfile +cat $TEXT | expand >> $tempfile + +$DIALOG --clear --title "TEXT BOX" \ + --help-button \ + --extra-button "$@" \ + --textbox "$tempfile" 22 77 + +retval=$? + +. ./report-button |