[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix cmd and hist nums in ${var@P} inside $PS[012]
From: |
Chet Ramey |
Subject: |
Re: [PATCH] fix cmd and hist nums in ${var@P} inside $PS[012] |
Date: |
Thu, 28 Mar 2024 16:11:17 -0400 |
User-agent: |
Mozilla Thunderbird |
On 3/26/24 9:02 AM, Grisha Levit wrote:
When \# or \! is decoded in a ${var@P} expansion embedded in a prompt
string, the value can be off by one from that of the same sequence
embedded directly in the prompt string.
Thanks for the report and patch.
Chet
--
``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