aboutsummaryrefslogtreecommitdiff
path: root/samples/textbox-help
diff options
context:
space:
mode:
Diffstat (limited to 'samples/textbox-help')
-rwxr-xr-xsamples/textbox-help8
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/textbox-help b/samples/textbox-help
index cb30253111b8..450c728c2c51 100755
--- a/samples/textbox-help
+++ b/samples/textbox-help
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: textbox-help,v 1.1 2011/01/18 09:59:20 tom Exp $
+# $Id: textbox-help,v 1.3 2020/11/26 00:05:11 tom Exp $
. ./setup-vars
@@ -8,13 +8,13 @@
TEXT=/usr/share/common-licenses/GPL
test -f $TEXT || TEXT=../COPYING
-cat textbox.txt | expand > $tempfile
-cat $TEXT | expand >> $tempfile
+expand < textbox.txt > $tempfile
+expand < $TEXT >> $tempfile
$DIALOG --clear --title "TEXT BOX" \
--help-button "$@" \
--textbox "$tempfile" 22 77
-retval=$?
+returncode=$?
. ./report-button