If you want a plain text man page

        man -n <manpage> | col -b > manpage.txt

will make most of the control characters go away.

More info from

        man col

For you specific case

        col -b < typescript > script.txt

-Naren


On Fri, 2 Nov 2001, H.S.Rai wrote:

> I get following type of output of " script " output , when viewed from
> saved file "typescript"
> 
> _______________
> 
> NAME
>        ls - list directory contents
> 
> SYNOPSIS
>        ls [OPTION]... [FILE]...
> 
> DESCRIPTION
>        List information about the FILEs (the current directory by
> _________________
> 
> How to take readble output similar to seen on screen.
> 
> 
> H S Rai
> 
> 
> 
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
> 



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to