On Mon, 10 Apr 2000, Sandeep Shetty wrote about, redirecting a man page:
> Hi all,
> How can i redirect the contents of a man page to a file.
> If i type the command
>
> man ls > filename
> the contents of the filename will content a lot junk characters appear.
> can anybody help..?
Could it be that it is your terminal type that is showing the junk chars.?
On a color_xterm the above command does not show any junk chars.
maybe the following will help, or give you ideas on howto read man pages in
other formats.
zcat /usr/man/man1/ls.1.gz | groff -Tascii > file
> With regards,
> Sandeep Shetty
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs