"man2ascii"-script ( was: Re: Is there a "man2ascii"-script???? )

"man2ascii"-script ( was: Re: Is there a "man2ascii"-script???? )

Post by Tor Johans » Wed, 02 Mar 1994 21:58:50



|>
|> Oh, this really is a FAQ!
|> Just yesterday, I posted the answer to the same question by someone
|> else:
|> Use   man xxxx | col -bx > xxxx.man
|>
|> --

|> EDV-Zentrum, Universitaet fuer Bodenkultur
|> Nussdorfer Laende 11                      Please correct me if I'm wrong!
|> A-1190 Wien, Austria (Europe)             Make love, not flame wars.  :-)

I am sorry if this was a FAQ!

Anyway, thanks to evereybody who answerd!
Most of you told me to use:

        "man xxxx | col -bx > xxxx.man"

It works perfect!

Tor Johansen

 
 
 

"man2ascii"-script ( was: Re: Is there a "man2ascii"-script???? )

Post by Wolfgang Sander-Beuerma » Thu, 10 Mar 1994 19:19:48



> >|> Use   man xxxx | col -bx > xxxx.man
> >Most of you told me to use:
> >        "man xxxx | col -bx > xxxx.man"
> >It works perfect!
> Not on my machine.  I still get "0m"s and "1m"s floating around, the
> backspace, and control characters seem to have been terminated, but
> parts of the escape sequence are still there.  I'm using OSF if it
> makes any difference.

That'll probably make the difference.  I would call it a bug of OSF and
you might report it to your vendor.  Then he'll probably call it like
vendors usually do ("It's not a bug, it's a feature").  And then you'll
have to get familiar with the sed command or write a little C programm
to solve your problem.



 
 
 

"man2ascii"-script ( was: Re: Is there a "man2ascii"-script???? )

Post by Michael P. Brininsto » Fri, 11 Mar 1994 08:43:08






>>|>
>>|> Just yesterday, I posted the answer to the same question by someone
>>|> else:
>>|> Use   man xxxx | col -bx > xxxx.man
>>|>
>>|> --
>>Most of you told me to use:

>>        "man xxxx | col -bx > xxxx.man"
>>It works perfect!

>Not on my machine.  I still get "0m"s and "1m"s floating around, the
>backspace, and control characters seem to have been terminated, but
>parts of the escape sequence are still there.  I'm using OSF if it
>makes any difference.

Here is what I use it does most of the cleanup:

cp $1 ascii$$
sed 's/_ //g' ascii$$ | sed 's/. . . //g'>$1
rm ascii$$

 
 
 

1. Is there a "man2ascii"-script????

Hello,
does anybody have a  "man2ascii"-script:

Something like this:

man ls > man2ascii > ls.text

where "man2ascii" give you a pure ascii file containing
the text you would sea on the screan by just doing a "man ls".

Thanks in advance!

Tor Johansen
phd. stud. in physics at the Universty of Tromsoe, Norway

2. Sendmail & PPP problems in Redhat 3.0.3..

3. GETSERVBYNAME()????????????????????"""""""""""""

4. Sorry to pollute freebsd-java

5. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

6. SuSE and PPP

7. Type "(", ")" and "{", "}" in X...

8. Apache 1.3.3 Reverse Proxy question

9. "NEED script" "will pay at least $50" NOTICE:

10. Condition checking "<=" and ">=" in ksh script

11. A script to change "string1" to "string2" in 50 files.

12. strange output of "who am I" & "last" on solaris 9

13. strange output of "who am i" & "last" in Solaris 9