Re: Weird shopt behavior

2016-01-21 Thread Greg Wooledge
On Thu, Jan 21, 2016 at 12:16:48AM -0600, Eduardo A. Bustamante López wrote: > - 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 More generally, you have to enable extglob to change the parser's b

Re: Weird shopt behavior

2016-01-20 Thread Eduardo A . Bustamante López
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