Re: parser bug in Q_ARITH

2025-07-12 Thread Robert Elz
Date:Sat, 12 Jul 2025 18:52:55 -0400 From:Zachary Santer Message-ID: | Now I'm drifting into Martin Kealey's camp. I don't want a new syntax | for associative array subscripts, but I would give up some backwards | compatibility in return for having arithmetic

Re: parser bug in Q_ARITH

2025-07-12 Thread Lawrence Velázquez
On Sat, Jul 12, 2025, at 6:52 PM, Zachary Santer wrote: > let is a builtin, and its argument is always just going to be a > string, so people could continue to form arithmetic expressions at > runtime using that, if they are determined to do so. ((...)) is not the only arithmetic context. The "le

Re: parser bug in Q_ARITH

2025-07-12 Thread Zachary Santer
On Fri, Jul 11, 2025 at 3:13 PM Chet Ramey wrote: > > This means that arithmetic syntax errors are detected when the expression > is evaluated, not when the (( command is parsed. This is due to its origins > as syntactic sugar for `let "expression". > > The [[ conditional command, on the other han

sourc. can't handle /sys/block/*/uevent on Linux

2025-07-12 Thread Emanuele Torre
User zen_desu mentioned this bug report on the #bash IRC channel of libera.chat today: https://github.com/desultory/ugrd/pull/328 Basically, in bash 5.3, if you try to source a /sys/block/*/uevent file; example: $ cat /sys/block/sda/uevent MAJOR=8 MINOR=0 DEVNAME=sda DEVTYPE=d

Readline discards the last character of long messages

2025-07-12 Thread Torgny Lyon
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 uname output: Linux westring 6.12.28 #1 SMP PREEMPT_DYNAMIC Fri May 9 16:58:50 CDT 2025 x86_64 AMD Ryzen 5 7600 6-Core Processor AuthenticAMD GNU/Linux Machin