Today, I learned the very handy trick:
man [some command] -t | open -f -a Preview
I'd like to create an alias in my .bash_profile file as a shortcut. In order for this to work, I need to pass an argument into the aliased command. A little poking around and I came up with this:
alias manp="man $1 -t | open -f -a Preview"
This almost works, but if I type in, say "manp ls", it seems to be expecting the ls manpage to be in whatever my current directory is.