OS X: Create a Command to View UNIX “man” Pages as PDFs

A website tipped me off to a Terminal command that lets OS X users (the geekier ones) view UNIX “man” pages* as PDFs.

However, since the command is long, it would be hard to remember and difficult to type. I wanted to make an alias (a custom UNIX command) that would be shorter, but Bash (the default terminal in OS X) does not allow aliases to accept arguments (variables), which is critical to making this work.

Continue reading