Aug 30, 2025, 12:08 by [email protected]:

>  All of these are compound commands, and must be parsed as a whole before 
> executing any of the simple commands contained inside them.
>

Sorry, Greg, but this is no "compound" command, these are separate commands:

$ shopt -s extglob; echo !(this)


>  When it tries to parse the "echo" line, it encounters a syntax error, 
> reports it, and aborts.
>

 Does a "syntax error" have to be so catastrophic as to abort the whole script?


--
Pourko

Reply via email to