1
1
man
defaults to using a pager. For short pages, I want to just echo them to the terminal without paging. I'm on OS X. Things I've tried:
man -t man #produces PostScript output
man man | groff -T latin1 #readable, but line wraps badly
man man | troff -a #readable, but ... interesting ...
man man | echo #no output
Better offers?
you can try setting
MANPAGER=
(ie empty) in the env. – meuh – 2015-09-12T13:38:36.010At least on OS X that results in an error message when you try to man something – Chris F Carroll – 2015-09-12T15:38:48.437
sorry, dont have an OS X to try it on. Perhaps
MANPAGER=cat
? – meuh – 2015-09-12T15:41:36.763Yes, that worked. For my needs though, Arjan's answer is good. – Chris F Carroll – 2015-09-12T15:49:26.247