Re: ${| command; } funsub not setting REPLY does not error out with 'set -u' active

2024-12-24 Thread Zachary Santer
On Mon, Dec 23, 2024 at 11:50 AM Chet Ramey wrote: > > On 12/20/24 11:04 AM, Zachary Santer wrote: > > > Explicitly attempting to expand any one of those with a parameter > > expansion when it's unset and 'set -u' is active will cause bash to > > error out. ${| command; } is likewise also an expli

Re: ${| command; } funsub not setting REPLY does not error out with 'set -u' active

2024-12-24 Thread Lawrence Velázquez
On Tue, Dec 24, 2024, at 12:10 PM, Zachary Santer wrote: > Some other nonsense real quick: > > zsant@Zack2021HPPavilion MSYS ~/repos/bash > $ : ${| REPYL="whatever"} > ; } > bash: syntax error near unexpected token `;' while looking for matching `}' > bash: DEBUG warning: current_token (10) != she