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


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

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.