* Jan Minar <[EMAIL PROTECTED]> [2003-12-17 16:23]:
> On Wed, Dec 17, 2003 at 01:07:35PM -0500, Lou Losee wrote:
> > * Gruessle <[EMAIL PROTECTED]> [2003-12-17 12:21]:
> > > 
> > > Is there a way I can open man files in a text editor.
> > > I like to print one but have not configured my printer jet.
> > > So I will email it to my other pc.
> > > 
> > Try man xxx | col -b > text-filename
> 
> This actually should not work, you have to tell man(1) it should send the
> formatted manpage to stdout, instead of messing with the pager.
> Replace `foo' with the desired program name.
> 
> $ man --pager cat foo | col -b > text-filename
> 

Well perhaps it should not work, but it does.  I have used the construct
for years now.  In chasing down the man pager, it appears to default to
'less'.

Try it you may like it - simple and quick.

Lou


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to