[[...]] documentation claims tilde expansion and process substitution occur within double quotes

2024-04-26 Thread Lawrence Velázquez
Both the manual [1] and man page [2] state: The words between the [[ and ]] do not undergo word splitting and filename expansion. The shell performs tilde expansion, parameter and variable expansion, arithmetic expansion, command substitution, process substitution,

Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode.

2024-04-26 Thread Chet Ramey
On 4/25/24 9:56 PM, Dan Shelton wrote: Everyone seems to support MAKEFLAGS by now, and it's part of POSIX, so maybe we delete $(MFLAGS) and rely on make to pass MAKEFLAGS to submakes in the environment. Could you do this for the next alpha release, please? It will be in the next devel branch

Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode.

2024-04-26 Thread Oğuz
On Fri, Apr 26, 2024 at 4:57 AM Dan Shelton wrote: > Could you do this for the next alpha release, please? Run `find -name Makefile -exec sed -i 's/\$[({]MFLAGS[)}]//g' {} +' and it'll work. What's the hurry?

Re: [5.3-alpha] ">& /some/file" would fail when /some/file already exists

2024-04-26 Thread Grisha Levit
On Thu, Apr 25, 2024, 23:03 Oğuz wrote: > On Fri, Apr 26, 2024 at 1:17 AM Grisha Levit > wrote: > > Actually, I see this on Ubuntu 22.04 but not on macOS. > On Linux, O_EXCL and RX_EXPANDED (a flag used by bash to signal that > the redirection word is already expanded) has the same value. I don'

Re: bash parallel build: make[1]: warning: -j16 forced in submake: resetting jobserver mode.

2024-04-26 Thread Cedric Blancher
On Fri, 26 Apr 2024 at 03:57, Dan Shelton wrote: > > On Mon, 22 Apr 2024 at 22:54, Chet Ramey wrote: > > > > On 4/22/24 11:58 AM, Chet Ramey wrote: > > > On 4/20/24 2:02 AM, Cedric Blancher wrote: > > > > > >>> You can check what env the submake in question has and which recipe > > >>> runs it an