--- Begin Message ---
Subject: |
Minor glitch in regex |
Date: |
Wed, 19 Mar 2014 11:20:31 +0100 |
In the info page for "chmod invocation",
node 27.2 Symbolic Modes, <quote>
The format of symbolic modes is:
[ugoa...][+-=]PERMS...[,...]
</quote>
the [+-=] is naturally read as "every character from + through =" due
to the special meaning of - in a character class. I suggest [+=-]
would be more apt. It is possible the same pattern is repeated
elsewhere in the manual.
Eddy.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17041: Minor glitch in regex |
Date: |
Wed, 19 Mar 2014 16:29:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 03/19/2014 10:20 AM, Edward Welbourne wrote:
> In the info page for "chmod invocation",
> node 27.2 Symbolic Modes, <quote>
>
> The format of symbolic modes is:
>
> [ugoa...][+-=]PERMS...[,...]
>
> </quote>
> the [+-=] is naturally read as "every character from + through =" due
> to the special meaning of - in a character class. I suggest [+=-]
> would be more apt. It is possible the same pattern is repeated
> elsewhere in the manual.
[-+=] was already used in chmod --help so I went with that.
I'll push the attached in your name in a while.
thanks,
Pádraig.
chmod-regex-ambiguity.patch
Description: Text Data
--- End Message ---