bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ANSI escape character


From: djalma nogueira schwindt
Subject: ANSI escape character
Date: Sat, 21 Feb 2009 16:53:44 -0300

Hello
Sorry if this topic has already been addressed but I didn't find any
reference.
I realy don't know if this is a bug.
Some time ago I developed an interactive gawk program that it runs on
windows XP and I use the
version 3.0.4. Now I downloaded the version 3.1.6 from sourceforge.net but
the result is not the same.
To simplify, I wrote the awk program bellow:

 BEGIN{cor="\033[1;33;40m"
       printf "%s",cor
       print "awk string"
}

When run with version 3.0.6, the result is correct. It is shown only to
literal "awk string" in yellow.
But when I use the version 3.1.6, it shows:

←[1;33;40mawk string

That is, the ANSI escape character is not interpreted.
Both executions are performed in the same DOS window.
Much appreciate your comments on this.
Thank you in advance
Regards
Djalma


reply via email to

[Prev in Thread] Current Thread [Next in Thread]