On Sat, Jul 12, 2025, at 8:51 PM, Robert Elz wrote:
> Date: Sat, 12 Jul 2025 18:52:55 -0400
> From: Zachary Santer <zsanter@gmail.com>
> Message-ID:
> <CABkLJUJHD6YsMSFhUiJzw6xp_hUt7T8B==knjZyz1RfLJjX5ZQ@mail.gmail.com>
>
> | Same applies to parameter expansion syntax errors.
>
> The NetBSD shell used to do that (and POSIX even allows it), but
> it turns out to be a poor choice, and we (or I if you like) changed
> it recently (in shell lifetime terms, may be a year or a bit more
> ago now, I forget).
I looked this up, out of curiosity. For those who might be interested:
https://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/parser.c?r1=1.184#rev1.184https://cvsweb.netbsd.org/bsdweb.cgi/src/bin/sh/parser.h?r1=1.30#rev1.30
--
vq