chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a1bff
)
force HTML-ized man pages to use ASCII
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 12 Apr 2008 14:11:07 +0000
(15:11 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 12 Apr 2008 14:11:07 +0000
(15:11 +0100)
scripts/htmlman
patch
|
blob
|
blame
|
history
diff --git
a/scripts/htmlman
b/scripts/htmlman
index 5bbc07bc194bf17986c6f508b87d19f3acdae6f0..fa966dda477eddc870a0005e26a6261101ddc15b 100755
(executable)
--- a/
scripts/htmlman
+++ b/
scripts/htmlman
@@
-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/&/\&/g;