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
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