]> git.wh0rd.org Git - home.git/commitdiff
er-close: handle more nickname formats
authorMike Frysinger <vapier@gentoo.org>
Thu, 2 Jan 2014 20:34:23 +0000 (15:34 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 2 Jan 2014 20:34:23 +0000 (15:34 -0500)
.bin/er-close

index 2a31ce6a0148dc01a47e110974cf88c2fd818aa6..da75efd98120e164c1721c2d6ef171495fda92f0 100755 (executable)
@@ -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}