force HTML-ized man pages to use ASCII
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 12 Apr 2008 14:11:07 +0000 (15:11 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 12 Apr 2008 14:11:07 +0000 (15:11 +0100)
scripts/htmlman

index 5bbc07b..fa966dd 100755 (executable)
@@ -53,7 +53,7 @@ if $stdhead; then
 fi
 printf "   <pre class=manpage>"
 # this is kind of painful using only BREs
-nroff -man "$1" | ${GNUSED} \
+nroff -Tascii -man "$1" | ${GNUSED} \
                       '1d;$d;
                        1,/./{/^$/d};
                        s/&/\&amp;/g;