From baecfd79dc9618fc2da1e174dd77c1eddeb69605 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 19 Dec 2016 15:48:25 +0100 Subject: [PATCH] man_show_fixme.sh: Fix rendering issue If a single quote falls at the start of a line, then the rest of the line is treated as a comment. Therefore, escape single quotes. Signed-off-by: Michael Kerrisk --- scripts/man_show_fixme.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/man_show_fixme.sh b/scripts/man_show_fixme.sh index 70d3fbbe0..98e6ce829 100644 --- a/scripts/man_show_fixme.sh +++ b/scripts/man_show_fixme.sh @@ -41,6 +41,7 @@ for f in $*; do fixme == 1 { sub("^\\...[ ]", "") sub("^\\...", "") + gsub("'"'"'", "\\(aq") if ($0 ~ /^[ ][ ]*.*/) { print ".br" sub("^[ ]*", " ")