bug-bash
[Top][All Lists]
Advanced

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

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


From: pepa65
Subject: Re: . and .. are included where they were excluded before
Date: Wed, 27 Jan 2021 13:50:20 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

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)
[...]

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

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

Peter




reply via email to

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