Blob
1 #!/bin/sh2 #3 # usage: mdoc2html.sh src out4 #5 # converts the manpage `src' to the HTML file `out', tweaking the6 # style8 set -e10 : ${1:?missing input file}11 : ${2:?missing output file}13 man -Thtml -l "$1" > "$2"15 exec ed "$2" <<EOF16 /<style>17 a18 body { max-width: 960px; margin: 0 auto; }19 .20 wq21 EOF