summaryrefslogtreecommitdiffstats
path: root/samples/inputmenu1
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2012-10-21 18:18:09 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2012-10-21 18:18:09 +0000
commita94245b3d36b447d1f761028da7e072210e64b43 (patch)
tree7533a68fe403654b5f1626734c2336dc7128d3bb /samples/inputmenu1
parent94f19e002939203294adf4d18b410183682bd2de (diff)
downloadFreeBSD-src-a94245b3d36b447d1f761028da7e072210e64b43.zip
FreeBSD-src-a94245b3d36b447d1f761028da7e072210e64b43.tar.gz
Import dialog-1.1-20120706
Diffstat (limited to 'samples/inputmenu1')
-rwxr-xr-xsamples/inputmenu14
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/inputmenu1 b/samples/inputmenu1
index 4e9bae2..905c292 100755
--- a/samples/inputmenu1
+++ b/samples/inputmenu1
@@ -1,5 +1,5 @@
#! /bin/sh
-# $Id: inputmenu1,v 1.8 2010/01/13 10:31:02 tom Exp $
+# $Id: inputmenu1,v 1.9 2012/07/01 00:59:54 tom Exp $
#
# "inputmenu" rewritten into Bourne shell.
@@ -58,7 +58,7 @@ exec 3>&-
;;
$DIALOG_EXTRA)
tag=`echo "$value" |sed -e 's/^RENAMED //' -e 's/:.*//'`
- item=`echo "$value" |sed -e 's/^.*:[ ]*//' -e 's/[ ]*$//'`
+ item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'`
case "$tag" in
Username)
OpenPOWER on IntegriCloud