14.07.2010 13:14, Roger Leigh wrote:
> On Wed, Jul 14, 2010 at 08:57:12AM +0200, Luca Falavigna wrote:
>> Il 14/07/2010 6.50, Charles Plessy ha scritto:
>>> Does anybody know how a more convenient to display a
>>> manpage the same way as users will get it by using ‘man’ ?
>>
>> groff -T ascii -man <manpage>
>> zcat /usr/share/man/manX/XXX | groff -T ascii -m man
> 
> You want '-T utf8' to match the output in the original question.
> And you also need to run it through the preprocessors.
> 'cat manpage.1 | tbl | eqn | pic | groff -T utf8 -man > manpage.txt'
> or use groffer(1) to automatically run the needed preprocessors.

 $ man ./manpage.1 > manpage.txt

/mjt


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3db080.4060...@msgid.tls.msk.ru

Reply via email to