X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/13affe66e42887bf256d91a719d8e25f51600136..7e3178245205a63f6922bda8bb51cd1ebdc34fa4:/scripts/htmlman?ds=sidebyside diff --git a/scripts/htmlman b/scripts/htmlman index 82a33ca..54faee1 100755 --- a/scripts/htmlman +++ b/scripts/htmlman @@ -55,6 +55,7 @@ printf "
" # this is kind of painful using only BREs nroff -man "$1" | sed \ '1d;$d; + 1,/./{/^$/d}; s/&/\&/g; s/\</g; s/>/\>/g;