Solved Print entire man page section

It's not clear what you're actually asking for. All man pages available in the web interface are installed on your system already. Or do you mean you want to be able to read man pages when away from your computer?
 
Don't know of a built-in way, but a shell script can do it:
Code:
#!/bin/sh
MANDIR="/usr/share/man/man3"
DESTDIR="/tmp/manpdf"

mkdir -p "${DESTDIR}"

for fname in ${MANDIR}/*; do
  # remove leading path
  manpage=`basename ${fname}`
  # remove .gz extension
  manpage="${manpage%.gz}"
  echo "writing PDF for ${manpage}..."
  gzcat "$fname" | mandoc -Tpdf > "${DESTDIR}/${manpage}.pdf"
done

Incidentally, printing all those pages would be a big waste. Most people will only need a few.
 
Back
Top