GNU bug report logs - #17041
Minor glitch in regex

Previous Next

Package: coreutils;

Reported by: Edward Welbourne <edward.welbourne <at> cfengine.com>

Date: Wed, 19 Mar 2014 15:47:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pádraig Brady <P <at> draigBrady.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#17041: closed (Minor glitch in regex)
Date: Wed, 19 Mar 2014 16:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 19 Mar 2014 16:29:59 +0000
with message-id <5329C607.9040203 <at> draigBrady.com>
and subject line Re: bug#17041: Minor glitch in regex
has caused the debbugs.gnu.org bug report #17041,
regarding Minor glitch in regex
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
17041: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17041
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Edward Welbourne <edward.welbourne <at> cfengine.com>
To: bug-coreutils <at> gnu.org
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.


[Message part 3 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Edward Welbourne <edward.welbourne <at> cfengine.com>
Cc: 17041-done <at> debbugs.gnu.org
Subject: Re: bug#17041: Minor glitch in regex
Date: Wed, 19 Mar 2014 16:29:59 +0000
[Message part 4 (text/plain, inline)]
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 (text/x-patch, attachment)]

This bug report was last modified 11 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.