]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - scripts/man_show_fixme.sh
Start of man-pages-5.02: updating .Announce and .lsm files
[thirdparty/man-pages.git] / scripts / man_show_fixme.sh
old mode 100644 (file)
new mode 100755 (executable)
index 9e1736c..98e6ce8
@@ -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"
@@ -34,6 +41,7 @@ for f in $*; do
         fixme == 1 {
            sub("^\\...[ ]", "")
            sub("^\\...", "")
+           gsub("'"'"'", "\\(aq")
             if ($0 ~ /^[       ][      ]*.*/) {
                 print ".br"
                 sub("^[        ]*", "    ")