Re: How to test a manpage? ‘nroff -man | less’ does not display like ‘man’.
14.07.2010 09:01, Russ Allbery wrote:
[]
> You can just run man directly on the *roff file, but if you want to stick
> with the zcat pipeline, just add the -t flag to nroff to say to run the
> output through the tbl preprocessor first.
This is the most close of all suggestions. But even closer is:
$ man ./manpage.1.gz
(or ./manpage.1, whatever). It will run zcat automatically just like
it does for regular manpages.
:)
/mjt
Reply to: