Re: Difference of extglob between 5.0.0(1)-release and 4.4.23(1)-release

2019-01-13 Thread Chet Ramey
On 1/13/19 8:45 AM, Ilkka Virta wrote: > On 13.1. 14:37, Andreas Schwab wrote: >> On Jan 13 2019, Robert Elz wrote: >> >>> The pattern >>> ./$null"$dir"/ >>> >>> is expanded (parameter expansion) to >>> >>> ./@()./ >>> >>> which does not have a "." immediately after the / and >>> tus

Re: Difference of extglob between 5.0.0(1)-release and 4.4.23(1)-release

2019-01-13 Thread Ilkka Virta
On 13.1. 14:37, Andreas Schwab wrote: On Jan 13 2019, Robert Elz wrote: The pattern ./$null"$dir"/ is expanded (parameter expansion) to ./@()./ which does not have a "." immediately after the / and tus cannot match any filename (incoludeing ".") which starts with a '.'