]> granicus.if.org Git - sudo/commitdiff
Escape the colons in [[:alpha:]] as required by sudoers.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 7 Aug 2015 18:00:12 +0000 (12:00 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 7 Aug 2015 18:00:12 +0000 (12:00 -0600)
doc/sudoers.cat
doc/sudoers.man.in
doc/sudoers.mdoc.in

index c47edcc990461b63415ad7e72822767208ab681b..1abbd9b5c8d74681792b75bfc8abdae411fe3f64 100644 (file)
@@ -693,7 +693,7 @@ S\bSU\bUD\bDO\bOE\bER\bRS\bS F\bFI\bIL\bLE\bE F\bFO\bOR\bRM\bMA\bAT\bT
      fnmatch(3) functions support them.  However, because the `:' character
      has special meaning in _\bs_\bu_\bd_\bo_\be_\br_\bs, it must be escaped.  For example:
 
-         /bin/ls [[:alpha:]]*
+         /bin/ls [[\:alpha\:]]*
 
      Would match any file name beginning with a letter.
 
@@ -2435,4 +2435,4 @@ D\bDI\bIS\bSC\bCL\bLA\bAI\bIM\bME\bER\bR
      file distributed with s\bsu\bud\bdo\bo or http://www.sudo.ws/license.html for
      complete details.
 
-Sudo 1.8.15                     August 6, 2015                     Sudo 1.8.15
+Sudo 1.8.15                     August 7, 2015                     Sudo 1.8.15
index d4c120b3fe3f2aa26c3426eb265245dac466c16c..1da7ac75cc143c3e92c19c98d8ff7478d061d5ad 100644 (file)
@@ -21,7 +21,7 @@
 .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
 .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
 .\"
-.TH "SUDOERS" "5" "August 6, 2015" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
+.TH "SUDOERS" "5" "August 7, 2015" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
 .nh
 .if n .ad l
 .SH "NAME"
@@ -1508,7 +1508,7 @@ For example:
 .nf
 .sp
 .RS 4n
-/bin/ls [[:\&alpha:\&]]*
+/bin/ls [[\e:\&alpha\e:\&]]*
 .RE
 .fi
 .PP
index 54275d7353e511647869ddfd2a74bd0bb4152df6..132959d80fe59f2da40115d708f3d85d9bbf0fa8 100644 (file)
@@ -19,7 +19,7 @@
 .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
 .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
 .\"
-.Dd August 6, 2015
+.Dd August 7, 2015
 .Dt SUDOERS @mansectform@
 .Os Sudo @PACKAGE_VERSION@
 .Sh NAME
@@ -1408,7 +1408,7 @@ it must be
 escaped.
 For example:
 .Bd -literal -offset 4n
-/bin/ls [[:\&alpha:\&]]*
+/bin/ls [[\e:\&alpha\e:\&]]*
 .Ed
 .Pp
 Would match any file name beginning with a letter.