If you'd like to read the "man" pages (UNIX manual pages) in PDF mode, here's how to do it.
The following shell script displays high quality man pages using Preview.app (or whichever PDF viewer the finder thinks to use):
NOTE: In order for this to work, You'll need ghostscript installed for ps2pdf.
The following shell script displays high quality man pages using Preview.app (or whichever PDF viewer the finder thinks to use):
#!/bin/tcshSave the script in your personal bin directory, e.g. ~/bin/superman. Set execute permissions: chmod +x ~/bin/superman. And then superman ls will present nicely typeset man pages.
set m=`man -w $1`
set c=`grog $m`
$c | ps2pdf - /tmp/$1.pdf
open /tmp/$1.pdf
NOTE: In order for this to work, You'll need ghostscript installed for ps2pdf.
•
[6,041 views]

