tech-userlevel archive

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

Re: bin/39002: harmful AWK extension: non-portable escaped character




On Jun 24, 2008, at 5:37 AM, Aleksey Cheusov wrote:


i.e. it's undefined behavior and there's clearly no "standard
behavior" per se.
Aa I already said NO. It is "undefined behaviour" for regexps but not
for constant strings.


Actually it's defined exactly for specific sequences for strings. It is not defined what happens on any others.

i.e. there's nothing stating that

\x -> \x

or

\x -> x

inside a string. It's not clearly defined there at all.

James




Home | Main Index | Thread Index | Old Index