Hey,

We got your report three times. Try to be more patient ;)

This is not a bug. When you use shopt -s extglob, you change how bash parses
the input script. But it has some restrictions:

- You can't enable extglob and use extglob syntax in the same line
- You can't enable extglob in a function and use extglob syntax in the same
line

The recommendation is to do what you did: enable it at the beginning of your
script.

So, not a bug. And don't expect a fix. That's just how it works :-)

-- 
Eduardo Bustamante
https://dualbus.me/

Reply via email to