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: Edward Welbourne <edward.welbourne <at> cfengine.com>
Subject: bug#17041: closed (Re: bug#17041: Minor glitch in regex)
Date: Wed, 19 Mar 2014 16:44:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#17041: Minor glitch in regex

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 17041 <at> debbugs.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: 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 3 (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)]
[Message part 5 (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.



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.