Re: How to remove escape sequences from a existing file
Perfect, this did the trick!!!
I had seen this somewhere, but where?...
Thankyou very much, now I can head the following step...
El jue, 23-09-2004 a las 07:08, Kevin Mark escribió:
> On Thu, Sep 23, 2004 at 12:53:26AM +0200, diego wrote:
> > I have a log file with escape sequences like "ESC]00m" and the like. I
> > know they are the codes to change the color and so in the original
> > printing, but in automatic post processing its a real headache...
> > How can I automatically remove ANY escape sequence to convert it into a
> > real plain text?
> > Thanx very much in advance!!
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
> Hi Diego,
> I recall MAN pages with such things. This:
> cat TEXTFILE | col -b
> may help. 'man col' to see all the details.