diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-12-19 15:48:25 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-12-27 09:36:23 +0100 |
commit | baecfd79dc9618fc2da1e174dd77c1eddeb69605 (patch) | |
tree | 5019f8d9aca8398af8783d70228dde2d8db913ee /scripts | |
parent | 64dd3b717ae8201a1f8c33e942ff968a53173ffa (diff) | |
download | man-pages-baecfd79dc9618fc2da1e174dd77c1eddeb69605.tar.gz |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/man_show_fixme.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/man_show_fixme.sh b/scripts/man_show_fixme.sh index 70d3fbbe05..98e6ce8290 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("^[ ]*", " ") |