aboutsummaryrefslogtreecommitdiff
path: root/samples/treeview2
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-02-26 09:05:35 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-02-26 09:05:35 +0000
commit01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1 (patch)
tree593f2e62b1846058a020ffcecb0ef93eb7ac2153 /samples/treeview2
parent4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff)
Diffstat (limited to 'samples/treeview2')
-rwxr-xr-xsamples/treeview26
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/treeview2 b/samples/treeview2
index b3dde4159483..ba5e948f5fa2 100755
--- a/samples/treeview2
+++ b/samples/treeview2
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: treeview2,v 1.3 2012/12/23 22:28:00 tom Exp $
+# $Id: treeview2,v 1.5 2020/11/26 00:05:52 tom Exp $
. ./setup-vars
@@ -44,9 +44,9 @@ EOF
$DIALOG --title "TREE VIEW DIALOG" \
--scrollbar \
- --treeview "TreeView demo" 0 0 10 `cat $input | sed -e 's/:/ /g'` 2> $output
+ --treeview "TreeView demo" 0 0 10 `sed -e 's/:/ /g' "$input"` 2> $output
-retval=$?
+returncode=$?
tempfile=$output
. ./report-tempfile