|
From: | Andreas Schwab |
Subject: | Re: Difference of extglob between 5.0.0(1)-release and 4.4.23(1)-release |
Date: | Sun, 13 Jan 2019 13:37:34 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) |
On Jan 13 2019, Robert Elz <kre@munnari.OZ.AU> 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, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |