man_show_fixme.sh: Minor tweaks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-10-31 14:38:59 +01:00
parent db0afb5464
commit 96561bfd57
1 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,8 @@ for f in $*; do
cat $f | awk '
/^\.\\\" *FIXME/ {
if ($0 ~ /.*FIXME *\..*/) {
# FIXMES of the form "FIXME ." are "private" and
# ignored by this script
} else {
sub("FIXME[: ]*", "")
print ""