Skip to content

Commit

Permalink
man_show_fixme.sh: strip extraneous blank line at start of rendered F…
Browse files Browse the repository at this point in the history
…IXME output

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
  • Loading branch information
mkerrisk committed Oct 31, 2016
1 parent c63b745 commit d3fc509
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/man_show_fixme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d3fc509

Please sign in to comment.