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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17041 in the body.
You can then email your comments to 17041 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#17041; Package coreutils. (Wed, 19 Mar 2014 15:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Edward Welbourne <edward.welbourne <at> cfengine.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 19 Mar 2014 15:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Wed, 19 Mar 2014 16:44:02 GMT) Full text and rfc822 format available.

Notification sent to Edward Welbourne <edward.welbourne <at> cfengine.com>:
bug acknowledged by developer. (Wed, 19 Mar 2014 16:44:03 GMT) Full text and rfc822 format available.

Message #10 received at 17041-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Apr 2014 11:24:03 GMT) Full text and rfc822 format available.

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.