a life of cheerful simplicity
A neat trick for generating
man pages from the Terminal using TextExpander.
Sometimes you want to actually, properly read a
man page in comfort rather than in the Terminal. For that, it’s not a bad idea to generate it in Preview but I often forget how to do this (usually some time lapses between instances).
So I came up with this neat little TextExpander snippet that allows you to do it:
man -t %filltext:name=command% | open -f -a /Applications/Preview.app
manprevon the Command Line
manpage, all elegant and readable, for you to peruse.