man_show_fixme.sh: strip extraneous blank line at start of rendered FIXME output

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-10-31 16:44:57 +01:00
parent c63b745431
commit d3fc509df8
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,13 @@ for f in $*; do
# ignored by this script
} else {
sub("FIXME[: ]*", "")
if ($0 ~ /^\.\\\"[ ]*$/) {
# If the FIXME line contains no additional text after
# "FIXME", then discard the blank line
getline
}
print ""
if (fixme == 0) {
print ".TS"