diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
| commit | 01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1 (patch) | |
| tree | 593f2e62b1846058a020ffcecb0ef93eb7ac2153 /samples/checklist12 | |
| parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
Diffstat (limited to 'samples/checklist12')
| -rwxr-xr-x | samples/checklist12 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/checklist12 b/samples/checklist12 index e23f88b9072b..68c70ae1b9b3 100755 --- a/samples/checklist12 +++ b/samples/checklist12 @@ -1,5 +1,5 @@ #! /bin/sh -# $Id: checklist12,v 1.3 2012/12/23 22:27:51 tom Exp $ +# $Id: checklist12,v 1.5 2020/11/26 00:03:58 tom Exp $ . ./setup-vars @@ -23,7 +23,7 @@ $CUT >$input <<-EOF Fish:Cats like fish.:On Lemon:You know how it tastes.:on EOF -cat $input | sed -e 's/^/"/' -e 's/:/" "/g' -e 's/$/"/' >$output +sed -e 's/^/"/' -e 's/:/" "/g' -e 's/$/"/' <$input >$output cat $output >$input $DIALOG --backtitle "No Such Organization" \ @@ -38,7 +38,7 @@ Press SPACE to toggle an option on/off. \n\n\ Which of the following are fruits?" 20 61 5 \ --file $input 2> $output -retval=$? +returncode=$? tempfile=$output . ./report-tempfile |
