On Jan 13 2019, Robert Elz <[email protected]> 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 '.' character.

For the same reason `*.' doesn't match `.'.  Making `@()' work differently
from `*' would be surprising.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to