chiark / gitweb /
utf32_word_split() and utf8_word_split() splits a string into words
[disorder] / scripts / htmlman
index 82a33ca..54faee1 100755 (executable)
@@ -55,6 +55,7 @@ printf "   <pre class=manpage>"
 # this is kind of painful using only BREs
 nroff -man "$1" | sed \
                       '1d;$d;
+                       1,/./{/^$/d};
                        s/&/\&amp;/g;
                        s/</\&lt;/g;
                        s/>/\&gt;/g;