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"
>
> _______________
>
> [1mNAME[0;10m
> ls - list directory contents
>
> [1mSYNOPSIS[0;10m
> [1mls[0;10m [[4mOPTION[24m]... [[4mFILE[24m]...
>
> [1mDESCRIPTION[0;10m
> 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