$NetBSD: patch-ah,v 1.2 2009/11/17 04:37:02 obache Exp $ --- gnats/edit-pr.sh.orig 2002-05-26 17:32:02.000000000 +0200 +++ gnats/edit-pr.sh @@ -169,7 +169,7 @@ do type="`$QUERY_PR --field-type $field`" case $type in [Ee][Nn][Uu][Mm]) - values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;` + values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;'` valslen=`echo "$values" | wc -c` if [ "$valslen" -gt 160 ] then