On 12/22/23 2:25 AM, em...@miropalmu.cc wrote:

But I did not know that '\e' is valid
ANSI escape sequence prefix.

It's not in the ISO C definition of a character constant or string
literal. It's a common extension that bash and other shells implement --
common enough that it's in the POSIX specification of $'...' quoting, which
will be in the next version of the standard.

https://www.austingroupbugs.net/view.php?id=249

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to