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 <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-19 15:48:25 +01:00
parent 64dd3b717a
commit baecfd79dc
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ for f in $*; do
fixme == 1 {
sub("^\\...[ ]", "")
sub("^\\...", "")
gsub("'"'"'", "\\(aq")
if ($0 ~ /^[ ][ ]*.*/) {
print ".br"
sub("^[ ]*", " ")