You don't need an editor.  I forget where I saw this but I
always use "man <foo> | col -b > <filename>"

The 'col' command filters out the backspaces.


Juan Martinez

On Thu, 8 Mar 2001, Rick Forrister wrote:

> Date: Thu, 08 Mar 2001 10:39:08 -0800
> From: Rick Forrister <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Help
> 
> [EMAIL PROTECTED] wrote:
> > 
> > There is no way to capture a man to a file, I asked.
> > 
> > Brian
> 
> _PLEASE_ give serious consideration to loosing the html in email.  Many
> on
> the lists just send it to /dev/null.
> 
> That said, I rather wonder about whoever told you that you can't capture
> man ouptut to a file.  "man <foo> > <filename>" will capture the output,
> but will have a lot of "_^H" and "^H_" character sequences in the text
> file.  You can get rid of these in an editor easily enough.  Another
> alternative is to use "man -t <foo>", this will send a postscript
> version
> of the man output to lp.
> 
> best
>      rickf
> 
> 
> -- 
> Rick Forrister                 <[EMAIL PROTECTED]>
> 
> "Giving power and money to politicians is like giving car keys
>  and alcohol to teenage boys."
>                               --P. J. O'Rourke
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to