|
From: | L. A. Walsh |
Subject: | Re: doc improvement for dotglob |
Date: | Tue, 27 Sep 2016 09:41:56 -0700 |
User-agent: | Thunderbird |
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 matchedexplicitly, 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.
[Prev in Thread] | Current Thread | [Next in Thread] |