projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4_Lite1 release
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
fnmatch.3
diff --git
a/usr/src/lib/libc/gen/fnmatch.3
b/usr/src/lib/libc/gen/fnmatch.3
index
8ffc81a
..
5d5dfd5
100644
(file)
--- a/
usr/src/lib/libc/gen/fnmatch.3
+++ b/
usr/src/lib/libc/gen/fnmatch.3
@@
-31,9
+31,9
@@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)fnmatch.3 8.
1 (Berkeley) 6/9/93
+.\" @(#)fnmatch.3 8.
2 (Berkeley) 4/16/94
.\"
.\"
-.Dd
June 9, 1993
+.Dd
April 16, 1994
.Dt FNMATCH 3
.Os
.Sh NAME
.Dt FNMATCH 3
.Os
.Sh NAME
@@
-94,7
+94,6
@@
Additionally, if
.Dv FNM_PATHNAME
is set,
a period is ``leading'' if it immediately follows a slash.
.Dv FNM_PATHNAME
is set,
a period is ``leading'' if it immediately follows a slash.
-.Em "This flag is not currently implemented."
.El
.Sh RETURN VALUES
The
.El
.Sh RETURN VALUES
The
@@
-108,20
+107,19
@@
otherwise, it returns the value
.Sh SEE ALSO
.Xr sh 1 ,
.Xr glob 3 ,
.Sh SEE ALSO
.Xr sh 1 ,
.Xr glob 3 ,
-.Xr wordexp 3 ,
-.Xr regexp 3
+.Xr regex 3 ,
+.Xr wordexp 3
+.Sh STANDARDS
+The
+.Fn fnmatch
+function conforms to
+.St -p1003.2 .
.Sh HISTORY
The
.Fn fnmatch
.Sh HISTORY
The
.Fn fnmatch
-function first appeared in 4.4BSD.
+function first appeared in
+.Bx 4.4 .
.Sh BUGS
.Sh BUGS
-Quotes and slashes in range patterns are not handled correctly by
-this implementation.
-.Pp
-The
-.Dv FNM_PERIOD
-flag is not implemented.
-.Pp
The pattern
.Ql *
matches the empty string, even if
The pattern
.Ql *
matches the empty string, even if