Hi everyone,

I've noticed a change in Bash 4.3.30 and 4.3.33, compared to 4.2.53, which
looks like a bug.

With the older versions this:

    bash -c 'cat < <(shopt -s extglob'$'\n''echo !(*))'

would output this:

    !(*)

which is fine.

However, the newer versions would fail like this:

    bash: command substitution: line 2: syntax error near unexpected token `('
    bash: command substitution: line 2: `echo !(*))'

Is this intended? If not, can this be fixed?

Thank you.

Nick

Reply via email to