On latest devel, using ubuntu 24.04, bash --noprofile --norc, I get:
bash-5.3$ $(;
bash: syntax error near unexpected token `;' while looking for matching `)'
bash: DEBUG warning: current_token (10) != shell_eof_token ()
bash: syntax error
No crashes, but the message is mb pointing to something.
Not really, it's just telling me what tokens can occur when you get a syntax
error while parsing a command substitution in different error situations.
It's usually 10 (newline) because the parser resets. More information than
anything else.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/