bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A BUG in bash-5.3 and extglob


From: pourko
Subject: Re: A BUG in bash-5.3 and extglob
Date: Sun, 31 Aug 2025 14:13:17 +0200 (CEST)

Aug 30, 2025, 12:08 by greg@wooledge.org:

>  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

[Prev in Thread] Current Thread [Next in Thread]