[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash pollutes namespace it shouldn't touch when emulating sh
From: |
Chet Ramey |
Subject: |
Re: bash pollutes namespace it shouldn't touch when emulating sh |
Date: |
Sun, 27 Aug 2017 10:08:32 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 8/27/17 6:54 AM, Neven Sajko wrote:
> Bash Version: 4.4
> Patch Level: 12
> Release Status: release
>
> Description:
>
> Some bash features (history expansions ...?) prevent executing
> commands with the same name.
I am not sure what you think Posix mode should do here. Since Posix doesn't
standardize the behavior of `^', Bash is free to use it as part of history
expansion. If you think history expansion should behave differently,
either use histchars to change the default behavior or disable history
expansion.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/