[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multi-line PS1 color disappearance problem
From: |
Chet Ramey |
Subject: |
Re: Multi-line PS1 color disappearance problem |
Date: |
Tue, 26 Dec 2023 14:47:23 -0500 |
User-agent: |
Mozilla Thunderbird |
On 12/22/23 2:25 AM, email@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 chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature