[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: Tue, 26 Jan 2021 21:00:54 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

On 26/01/2021 20:49, Chet Ramey wrote:
On 1/26/21 3:27 PM, kfm@plushkava.net wrote:

I'm still worried about some of the curious results shown by your original post but I haven't had a chance to test the same platforms yet.

Don't be. CentOS is running a version of bash-4.2 (without even all of the patches applied); that version was released more than ten years ago and the
changes we're talking about here came in between bash-4.2 and bash-4.3.

Thanks, Chet. Still, the original post mentions an anomaly or two that supposedly apply to more recent versions (4.4.19 and 5.0.17) and it is those that have been bothering me especially. I called them out in my original reply.

One example is that gregrwm claims the following outcome for 5.0.17(1) in Ubuntu 20.04:-

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

Note that '.' is said to be among the pathnames matched. I don't see how this can possibly be the case. I'm hoping that it was merely a case of making a mistake in the course of performing the tests and assembling the results.

Kerin Millar

reply via email to

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