diff options
author | Sergio Aguayo <sergioag@qmailhosting.net> | 2015-06-15 19:40:26 -0500 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2015-06-20 01:04:51 -0700 |
commit | 6203546182f592d62b0fb7f4182da3d21d59031f (patch) | |
tree | 7bcaaa7e90daa630fe812f95300a1a68a2878dfe | |
parent | 2750f8d5ec1b891560ac2224f6c37243d910bd1b (diff) | |
download | illumos-joyent-6203546182f592d62b0fb7f4182da3d21d59031f.tar.gz |
3768 fnmatch(5) is worded poorly
Reviewed by: Marcel Telka <marcel@telka.sk>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r-- | usr/src/man/man5/fnmatch.5 | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/usr/src/man/man5/fnmatch.5 b/usr/src/man/man5/fnmatch.5 index f4c0ec71dc..a0bd5d4cec 100644 --- a/usr/src/man/man5/fnmatch.5 +++ b/usr/src/man/man5/fnmatch.5 @@ -9,11 +9,10 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH FNMATCH 5 "Mar 28, 1995" +.TH FNMATCH 5 "Jun 14, 2015" .SH NAME fnmatch \- file name pattern matching .SH DESCRIPTION -.sp .LP The pattern matching notation described below is used to specify patterns for matching strings in the shell. Historically, pattern matching notation is @@ -22,12 +21,10 @@ this reason, the description of the rules for this pattern matching notation is based on the description of regular expression notation described on the \fBregex\fR(5) manual page. .SS "Patterns Matching a Single Character" -.sp .LP -The following \fIpatterns matching a single character\fR match a single -character: \fIordinary characters\fR, \fIspecial pattern characters\fR and -\fIpattern bracket expressions\fR. The pattern bracket expression will also -match a single collating element. +The following patterns match a single character: \fIordinary characters\fR, +\fIspecial pattern characters\fR and \fIpattern bracket expressions\fR. The pattern +bracket expression will also match a single collating element. .sp .LP An ordinary character is a pattern that matches itself. It can be any character @@ -162,7 +159,6 @@ syntax errors can result or implementation extensions can be triggered. For example, the KornShell supports a series of extensions based on parentheses in patterns; see \fBksh\fR(1) .SS "Patterns Matching Multiple Characters" -.sp .LP The following rules are used to construct \fIpatterns matching multiple characters\fR from \fIpatterns matching a single character\fR: @@ -238,7 +234,6 @@ matches the strings \fBad\fR, \fBabcd\fR, \fBefabcd\fR, \fBaaaad\fR and .RE .SS "Patterns Used for Filename Expansion" -.sp .LP The rules described so far in \fBPatterns\fR \fBMatching\fR \fBMultiple\fR \fBCharacters\fR and \fBPatterns\fR \fBMatching\fR \fBa\fR \fBSingle\fR @@ -305,6 +300,5 @@ bracket expression or does not match any existing filenames or pathnames, the pattern string is left unchanged. .RE .SH SEE ALSO -.sp .LP \fBfind\fR(1), \fBksh\fR(1), \fBfnmatch\fR(3C), \fBregex\fR(5) |