man2pdf 74 B

1234567
  1. #!/bin/sh
  2. TMP=$(mktemp)
  3. man -Tdvi $1 > $TMP.dvi
  4. dvipdf $TMP.dvi $1.pdf