[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc improvement for dotglob
From: |
Chet Ramey |
Subject: |
Re: doc improvement for dotglob |
Date: |
Tue, 27 Sep 2016 14:08:19 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 9/26/16 6:40 PM, 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 '..'.
>
> And dotglob's dedicated section has similar wording to change.
Thanks for the report. There should be something in there about `.'
and `..' always having to be matched explicitly.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/