help-bash
[Top][All Lists]
Advanced

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

Re: realine messup with dynamic PS1


From: Chet Ramey
Subject: Re: realine messup with dynamic PS1
Date: Fri, 7 Aug 2026 12:12:13 -0400
User-agent: Mozilla Thunderbird

On 8/6/26 10:22 PM, Christoph Anton Mitterer wrote:
Hey again

On Thu, 2026-08-06 at 11:22 -0400, Chet Ramey wrote:
This time, the LLM is correct. There are two stages of prompt
expansion:
first the expansion of backslash escapes, then word expansions.

I had just one new case of that "prompt corruption", but AFAICS all my
escape sequences produced from expansions are properly surrounded by
\001 and \002.

So what does this actually produce? What's the value of PS1?


--
``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/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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