diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-17 10:28:55 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-17 10:28:55 +0000 |
commit | 417e87f740ac4d85234428776a69e163d33517bd (patch) | |
tree | 9f45a4b095479f9ca544ff3abb716d5aefc15eb1 /contrib/dialog/samples/inputmenu2 | |
parent | f7c70f4181a12b76d1a7454b166af41fb2cabe98 (diff) | |
parent | 2b5579c9bdbbca29e7b2df1ee9a9e5d1cce2b06f (diff) | |
download | FreeBSD-src-417e87f740ac4d85234428776a69e163d33517bd.zip FreeBSD-src-417e87f740ac4d85234428776a69e163d33517bd.tar.gz |
Update dialog to 1.2-20130523
Level up WARNS
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:) |