]> granicus.if.org Git - sudo/commitdiff
mention glob()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 10 Feb 2009 12:51:20 +0000 (12:51 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 10 Feb 2009 12:51:20 +0000 (12:51 +0000)
sudoers.pod

index c3256bc43a524c35c5cf2b2e7d226d5b71dd3b8d..4a56a33e7fc305dba219a7c2bedfd17efb05ed88 100644 (file)
@@ -376,9 +376,10 @@ be overridden by use of the C<UNSETENV> tag.
 =head2 Wildcards
 
 B<sudo> allows shell-style I<wildcards> (aka meta or glob characters)
-to be used in hostnames, pathnames and command line arguments in the
-I<sudoers> file.  Wildcard matching is done via the B<POSIX>
-L<fnmatch(3)> routine.  Note that these are I<not> regular expressions.
+to be used in hostnames, pathnames and command line arguments in
+the I<sudoers> file.  Wildcard matching is done via the B<POSIX>
+L<glob(3)> and L<fnmatch(3)> routines.  Note that these are I<not>
+regular expressions.
 
 =over 8
 
@@ -405,10 +406,10 @@ escape special characters such as: "*", "?", "[", and "}".
 
 =back
 
-POSIX character classes may also be used if your system's
-L<fnmatch(3)> function supports them.  However, because the
-C<':'> character has special meaning in I<sudoers>, it must
-be escaped.  For example:
+POSIX character classes may also be used if your system's L<glob(3)>
+and L<fnmatch(3)> functions support them.  However, because the
+C<':'> character has special meaning in I<sudoers>, it must be
+escaped.  For example:
 
     /bin/ls [[\:alpha\:]]*
 
@@ -1449,7 +1450,7 @@ B<sudoedit>.
 
 =head1 SEE ALSO
 
-L<rsh(1)>, L<su(1)>, L<fnmatch(3)>, L<sudo(8)>, L<visudo(8)>
+L<rsh(1)>, L<su(1)>, L<fnmatch(3)>, L<glob(3)>, L<sudo(8)>, L<visudo(8)>
 
 =head1 CAVEATS