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
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
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
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
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