Deleted Added
full compact
fnmatch.3 (1574) fnmatch.3 (14045)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Guido van Rossum.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 93 unchanged lines hidden (view full) ---

102.Fa string
103matches the pattern specified by
104.Fa pattern ,
105otherwise, it returns the value
106.Dv FNM_NOMATCH .
107.Sh SEE ALSO
108.Xr sh 1 ,
109.Xr glob 3 ,
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Guido van Rossum.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 93 unchanged lines hidden (view full) ---

102.Fa string
103matches the pattern specified by
104.Fa pattern ,
105otherwise, it returns the value
106.Dv FNM_NOMATCH .
107.Sh SEE ALSO
108.Xr sh 1 ,
109.Xr glob 3 ,
110.Xr regex 3 ,
111.Xr wordexp 3
110.Xr regex 3
112.Sh STANDARDS
113The
114.Fn fnmatch
115function conforms to
116.St -p1003.2 .
117.Sh HISTORY
118The
119.Fn fnmatch
120function first appeared in
121.Bx 4.4 .
122.Sh BUGS
123The pattern
124.Ql *
125matches the empty string, even if
126.Dv FNM_PATHNAME
127is specified.
111.Sh STANDARDS
112The
113.Fn fnmatch
114function conforms to
115.St -p1003.2 .
116.Sh HISTORY
117The
118.Fn fnmatch
119function first appeared in
120.Bx 4.4 .
121.Sh BUGS
122The pattern
123.Ql *
124matches the empty string, even if
125.Dv FNM_PATHNAME
126is specified.