RE: man-to-text filter
On 28-Apr-99 Marc Mongeon wrote:
> Is there a quick and painless way to translate the output from
> man into plain text?
>
> e.g:
> $ man man | magic-filter
> $ magic-bin /usr/man/man8/man.8
> $ man --magic-switch man
>
Try this:
$ zcat /usr/man/man1/bash.1.gz | nroff -man | col -b
or, if the man page is not compressed:
$ nroff -man /usr/man/man1/bash.1 | col -b
Of course, replace /usr/man/man1/bash.1.gz for whatever man page you want to
print.;-)
Regards
> Thank you.
>
> Marc Mongeon
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
> /dev/null
>
----------------------------------
E-Mail: lusu@maptel.es
Date: 28-Apr-99
Time: 20:50:50
This message was sent by XFMail
----------------------------------
Reply to: