3 ae6870fa 2021-10-04 op # usage: mdoc2html.sh src out
5 ae6870fa 2021-10-04 op # converts the manpage `src' to the HTML file `out', tweaking the
10 ae6870fa 2021-10-04 op : ${1:?missing input file}
11 ae6870fa 2021-10-04 op : ${2:?missing output file}
13 ae6870fa 2021-10-04 op man -Thtml -l "$1" > "$2"
15 ae6870fa 2021-10-04 op exec ed "$2" <<EOF
18 ae6870fa 2021-10-04 op body { max-width: 960px; margin: 0 auto; }