[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 回复: Possible bug in bash
From: |
Chet Ramey |
Subject: |
Re: 回复: Possible bug in bash |
Date: |
Tue, 17 Jan 2023 10:56:17 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
On 1/17/23 2:21 AM, anonymous4feedback@outlook.com wrote:
I am sorry I made a mistake in the first email. Bash printed foo= bar=v and
all other shells printed foo=v bar=. It turns out I am using --posix to
enable alias in bash, and that’s what makes the difference.
Thanks for the update; I fixed that posix-mode issue yesterday. It's better
to turn off the check-next-word flag when reserved words are not eligible
for alias expansion, even though bash has behaved the other way for a very,
very long time.
--
``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/