On 27/01/2021 06:50, pepa65 wrote:
On 27/01/2021 04.00, k...@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