From: Mike Frysinger Date: Thu, 2 Jan 2014 20:34:23 +0000 (-0500) Subject: er-close: handle more nickname formats X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=33a25f00df2c5cac6ab05487d4e08457beafcb89;p=home.git er-close: handle more nickname formats --- 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}