mirror of https://github.com/mkerrisk/man-pages
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:
parent
c63b745431
commit
d3fc509df8
|
@ -11,6 +11,13 @@ for f in $*; do
|
||||||
# ignored by this script
|
# ignored by this script
|
||||||
} else {
|
} else {
|
||||||
sub("FIXME[: ]*", "")
|
sub("FIXME[: ]*", "")
|
||||||
|
if ($0 ~ /^\.\\\"[ ]*$/) {
|
||||||
|
|
||||||
|
# If the FIXME line contains no additional text after
|
||||||
|
# "FIXME", then discard the blank line
|
||||||
|
|
||||||
|
getline
|
||||||
|
}
|
||||||
print ""
|
print ""
|
||||||
if (fixme == 0) {
|
if (fixme == 0) {
|
||||||
print ".TS"
|
print ".TS"
|
||||||
|
|
Loading…
Reference in New Issue