Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 18:57:29 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        david <ph1@cogeco.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FTP access via email (Was - OFF TOPIC - please help!!! etc...)
Message-ID:  <3DE58619.5050805@owt.com>
References:  <OF6A965468.D0D3DDD4-ON80256C7E.00829377@pearsontv.com> <200211271907.07514.ph1@cogeco.ca> <04fc01c29682$e6cc0380$fa00a8c0@DaleCoportable> <200211272153.28655.ph1@cogeco.ca>

next in thread | previous in thread | raw e-mail | index | archive | help


david wrote:
> On Wednesday 27 November 2002 21:07, Kevin D. Kinsey, DaleCo, S.P. wrote:
> 
>>From: "david" <ph1@cogeco.ca>
>>Subject: Re: FTP access via email (Was - OFF TOPIC - please help!!!
>>etc...)
>>
>>
>>>On Wednesday 27 November 2002 18:48, Andrew.Hodgson@lpc.tv wrote:
>>>
>>>>Thanks for sending me the sh man page Paul (Beard) - unfortunately
>>>
>>it was
>>
>>
>>>>corrupted, with strange formatting and characters. This looks
>>>
>>similar to
>>
>>
>>>>when I have tried to pipe a manpage to a file, e.g.
>>>>
>>>># man sh > ~/sh.txt
>>>
>>>Try more sh.txt
>>
>>Ummm, r u [sh]ure?
>>
>>#man sh > more sh.man.txt
>>Formatting page, please wait...Done.
>>No manual entry for sh.man.txt
> 
> 
> No, I am saying if you pipe the output of man sh to a file you will need to 
> use more or less to view it because of the bold formatting, etc. 
> 
> Right?

So, feed it through col. If you do

man man | col -b

You don't have the bold stuff.

Kent

> 
> 
>>OK, I'm a dumb shell scripter anyway, try this:
>>
>>#man sh > more ~./sh.man.txt
>>Unknown user: ..
>>
>>Hmmm, maybe csh is as brain dead as they say:
>>
>>#sh
>>
>>$ man sh > more sh.txt
>>No manual entry for sh.txt
>>
>>And, just to make sure I didn't misunderstand
>>your post:
>>
>>$more sh.txt
>>sh.txt: No such file or directory
>>
>>Maybe Paul Beard would send us his
>>groff-troff magic, and end my curiosity here....
>>

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE58619.5050805>