[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: . and .. are included where they were excluded before

Subject: Re: . and .. are included where they were excluded before
Date: Wed, 27 Jan 2021 07:30:38 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 27/01/2021 06:50, pepa65 wrote:
On 27/01/2021 04.00, kfm@plushkava.net wrote:
One example is that gregrwm claims the following outcome for 5.0.17(1)
in Ubuntu 20.04:-

   $   echo @(?|.?)      #. and .. are included
. .. a .b

$ cat /etc/issue
Ubuntu 20.04.1 LTS \n \l

$ bash --version
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)

Note that declare -p BASH_VERSION would report the version of bash that you're currently running interactively.

$ shopt -s extglob
$ echo @(?|.?)

(I don't know, is there something wrong with my bash? Do I have to set
other options??)

Does declare -p GLOBIGNORE show that the variable is set? Does echo $- show the letter 'f' anywhere?

Kerin Millar

reply via email to

[Prev in Thread] Current Thread [Next in Thread]