>From 42498f9365db8be8a05a08dad43216989de32167 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 19 Mar 2014 16:19:08 +0000 Subject: [PATCH] doc: avoid regex ambiguity in chmod mode description * man/chmod.x: s/[+-=]/[-+=]/ * doc/perm.texi (Symbolic Modes): Likewise. Fixes http://bugs.gnu.org/17041 --- doc/perm.texi | 2 +- man/chmod.x | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/perm.texi b/doc/perm.texi index 60e9160..0bccc63 100644 --- a/doc/perm.texi +++ b/doc/perm.texi @@ -148,7 +148,7 @@ their previous values, and perhaps on the current @code{umask} as well The format of symbolic modes is: @example address@hidden@address@hidden@address@hidden@address@hidden,@address@hidden address@hidden@address@hidden@address@hidden@address@hidden,@address@hidden @end example @noindent diff --git a/man/chmod.x b/man/chmod.x index e5372db..190191f 100644 --- a/man/chmod.x +++ b/man/chmod.x @@ -16,7 +16,7 @@ which can be either a symbolic representation of changes to make, or an octal number representing the bit pattern for the new mode bits. .PP The format of a symbolic mode is [\c -\fBugoa\fP.\|.\|.][[\fB+-=\fP][\fIperms\fP.\|.\|.].\|.\|.], +\fBugoa\fP.\|.\|.][[\fB-+=\fP][\fIperms\fP.\|.\|.].\|.\|.], where .I "perms" is either zero or more letters from the set -- 1.7.7.6