summaryrefslogtreecommitdiffstats
path: root/contrib/dialog/samples/report-tempfile
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-09-24 14:52:43 +0000
committerdteske <dteske@FreeBSD.org>2013-09-24 14:52:43 +0000
commit6633bf70ed24c304037f64ca2f28e6ea8d2a0b47 (patch)
tree928bd26d2edefc51e3476336efb87361f214c616 /contrib/dialog/samples/report-tempfile
parent8a88ce9ab8eb02eeeb3167855ff0ac0f381dad7e (diff)
downloadFreeBSD-src-6633bf70ed24c304037f64ca2f28e6ea8d2a0b47.zip
FreeBSD-src-6633bf70ed24c304037f64ca2f28e6ea8d2a0b47.tar.gz
Update dialog to 1.2-20130923.
Approved by: re (marius)
Diffstat (limited to 'contrib/dialog/samples/report-tempfile')
-rw-r--r--contrib/dialog/samples/report-tempfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dialog/samples/report-tempfile b/contrib/dialog/samples/report-tempfile
index 32c04e0..4c5f099 100644
--- a/contrib/dialog/samples/report-tempfile
+++ b/contrib/dialog/samples/report-tempfile
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: report-tempfile,v 1.4 2012/06/29 09:29:47 tom Exp $
+# $Id: report-tempfile,v 1.5 2013/09/02 18:03:13 tom Exp $
# Report results in a temporary-file.
# vile:shmode
@@ -9,11 +9,11 @@ case $retval in
$DIALOG_CANCEL)
echo "Cancel pressed.";;
$DIALOG_HELP)
- echo "Help pressed.";;
+ echo "Help pressed: `cat $tempfile`";;
$DIALOG_EXTRA)
echo "Extra button pressed.";;
$DIALOG_ITEM_HELP)
- echo "Item-help button pressed.";;
+ echo "Item-help button pressed: `cat $tempfile`";;
$DIALOG_ESC)
if test -s $tempfile ; then
cat $tempfile
OpenPOWER on IntegriCloud