From 33a25f00df2c5cac6ab05487d4e08457beafcb89 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 2 Jan 2014 15:34:23 -0500 Subject: [PATCH] er-close: handle more nickname formats --- .bin/er-close | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/er-close b/.bin/er-close index 2a31ce6..da75efd 100755 --- a/.bin/er-close +++ b/.bin/er-close @@ -53,7 +53,7 @@ while [[ $# -ne 0 ]] ; do name=$(xml sel -E utf8 -t -m bugzilla/bug/long_desc -v who -n $xml | \ head -${c} | tail -1 | cut -d@ -f1) fi - new_name=$(echo "${name}" | scrub_html | sed 's: [("][^()"]*[)"]::g') + new_name=$(echo "${name}" | scrub_html | sed "s: [(\"'][^()\"']*[)\"']::g") if [[ ${new_name} != "${name}" ]] ; then echo "Normalizing '${name}' to '${new_name}'" name=${new_name} -- 2.39.5