Gen-bugnote: Replace backslashes with {backslash}.

Change-Id: I12b479fedf9ca54b600919a4586c4b4c43464589
Reviewed-on: https://code.wireshark.org/review/24626
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2017-11-28 14:37:46 -08:00 committed by Gerald Combs
parent 1e892a1db6
commit 2fdbeb0d78
1 changed files with 2 additions and 1 deletions

View File

@ -53,10 +53,11 @@ bug_title=$(
curl -s -o - "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=$bug_id" \ curl -s -o - "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=$bug_id" \
| grep -i '<title>' \ | grep -i '<title>' \
| sed \ | sed \
-e 's/{/\\{/' \
-e 's:.*<title>.*ndash; ::' \ -e 's:.*<title>.*ndash; ::' \
-e 's:</title>.*::' \ -e 's:</title>.*::' \
-e 's/[^\.]$/&./' \ -e 's/[^\.]$/&./' \
-e 's/{/\\{/' \ -e 's/\\/{backslash}/' \
) )
echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \ echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \