aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2017-11-28 14:37:46 -0800
committerGerald Combs <gerald@wireshark.org>2017-11-28 22:42:23 +0000
commit2fdbeb0d785db8d63849f0205313aed4d085f3ec (patch)
treec9a1133ea79ef0826acd34d4d75802e4b796a136 /tools
parent1e892a1db65ebfb7ea49bf7e605d2c2d9dfbe9c3 (diff)
Gen-bugnote: Replace backslashes with {backslash}.
Change-Id: I12b479fedf9ca54b600919a4586c4b4c43464589 Reviewed-on: https://code.wireshark.org/review/24626 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gen-bugnote3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gen-bugnote b/tools/gen-bugnote
index e7004a53e6..17962224f0 100755
--- a/tools/gen-bugnote
+++ b/tools/gen-bugnote
@@ -53,10 +53,11 @@ bug_title=$(
curl -s -o - "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=$bug_id" \
| grep -i '<title>' \
| sed \
+ -e 's/{/\\{/' \
-e 's:.*<title>.*ndash; ::' \
-e 's:</title>.*::' \
-e 's/[^\.]$/&./' \
- -e 's/{/\\{/' \
+ -e 's/\\/{backslash}/' \
)
echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \