discuss: Re: linuxdoc text backend (FIXED)
Subject:
Re: linuxdoc text backend (FIXED)
From:
####@####.####
Date:
20 Oct 2005 15:55:18 -0000
Message-Id: <49905.151.196.38.92.1129823716.squirrel@webmail.fergusontechgroup.com>
> I haven't been following the technical nature of this
> thread, but my HOWTO :
>
> http://tldp.org/HOWTO/text/Quake-HOWTO
>
> Has lots of stuff like:
>
> [1m1. Introduction[0m
>
> [1m1.1. Preamble[0m
>
> Is this the example you wanted ?
Perfect. Thank you Steven. I was able to fix this in
our processing.
For those that care about the gory details,
- take the output of sgml2txt and cat the file through
the following sed cmd: sed -r 's/\x1b\[[0-9]+m//g'
Works great. See the above howto for an example of the
output. "col" and other utilities didn't solve the problem,
so I went this route.
Greg