Re: 4.3 compgen behavior change (quoted arg)

2013-02-13 Thread Chet Ramey
On 2/13/13 5:46 AM, Raphaël Droz wrote: > I'm not sure whether or not this is to be expected. > > $ echo $BASH_VERSION > 4.2.42(1)-release > $ touch a.log > $ compgen -f -X '!*.log' -- \'\' > $ > > > $ echo $BASH_VERSION > 4.3.0(3)-devel > $ touch a.log > $ compgen -f -X '!*.log' -- \'\' > a.l

4.3 compgen behavior change (quoted arg)

2013-02-13 Thread Raphaël Droz
I'm not sure whether or not this is to be expected. $ echo $BASH_VERSION 4.2.42(1)-release $ touch a.log $ compgen -f -X '!*.log' -- \'\' $ $ echo $BASH_VERSION 4.3.0(3)-devel $ touch a.log $ compgen -f -X '!*.log' -- \'\' a.log $ This kind of "quoted" call is used by bash-completion _filedi