diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-10-21 18:25:12 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-10-21 18:25:12 +0000 |
commit | 59ae05f843643afc6998fcc4b2b415d89a8635ee (patch) | |
tree | 74dabcbe10843be3b85112de4524f2abb8e4112f /contrib/dialog/samples/inputmenu2 | |
parent | 2ad040bf3f552fc8b740e79fe6db1bf91414d583 (diff) | |
parent | a94245b3d36b447d1f761028da7e072210e64b43 (diff) | |
download | FreeBSD-src-59ae05f843643afc6998fcc4b2b415d89a8635ee.zip FreeBSD-src-59ae05f843643afc6998fcc4b2b415d89a8635ee.tar.gz |
Update dialog to 20120706: includes minor useability enhancements and
fixes for warnings encountered with clang.
Diffstat (limited to 'contrib/dialog/samples/inputmenu2')
-rwxr-xr-x | contrib/dialog/samples/inputmenu2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dialog/samples/inputmenu2 b/contrib/dialog/samples/inputmenu2 index f560aba..ecef674 100755 --- a/contrib/dialog/samples/inputmenu2 +++ b/contrib/dialog/samples/inputmenu2 @@ -1,5 +1,5 @@ #! /bin/sh -# $Id: inputmenu2,v 1.8 2010/01/13 10:32:04 tom Exp $ +# $Id: inputmenu2,v 1.9 2012/07/01 01:00:34 tom Exp $ # # "inputmenu1" with defaultitem, help-button. @@ -66,7 +66,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:) |