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
+ Preview)man -t %filltext:name=command% | open -f -a /Applications/Preview.app
manprev
on the Command Lineman
page, all elegant and readable, for you to peruse.My heroes are Hakuin, Bankei, Rabelais, Montaigne and most Tang dynasty poets. And whoever invented beer. And motorcycles. And I like cats. Will that do?