Ian Kelling wrote:
The docs currently say:

"When a pattern is used for filename expansion, the character '.' at
the start of a filename or immediately following a slash must be matched
explicitly, unless the shell option 'dotglob' is set.
The last bit should be changed to say

unless the shell option 'dotglob' is set and the file is not named '.'
or '..'.
---
But that's not what is supposed to happen. It doesn't say it matches the filename with "." [or ".."], but the *start* of a filename or after a "/". I.e., interactive shell usage should not include ".profile/.foo/.anything" in
such expansions.



Reply via email to