Re: parser bug in Q_ARITH

2025-07-01 Thread Zachary Santer
On Tue, Jul 1, 2025 at 5:36 AM Martin D Kealey wrote: > > On Tue, 1 Jul 2025, 08:59 Zachary Santer, wrote: >> >> It appears bash has made the parser more complex by selectively >> removing the pre-expansion step for certain parts of expressions. >> That's bad because the rules for when that happe

Re: parser bug in Q_ARITH

2025-07-01 Thread Martin D Kealey
On Tue, 1 Jul 2025, 08:59 Zachary Santer, wrote: > It appears bash has made the parser more complex by selectively > removing the pre-expansion step for certain parts of expressions. > That's bad because the rules for when that happens are undocumented > [...] > By far the simplest approach for