Deleted Added
full compact
fnmatch.3 (14045) fnmatch.3 (15706)
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:

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

80flag is set, a backslash character is treated as an ordinary character.
81.It Dv FNM_PATHNAME
82Slash characters in
83.Fa string
84must be explicitly matched by slashes in
85.Fa pattern .
86If this flag is not set, then slashes are treated as regular characters.
87.It Dv FNM_PERIOD
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:

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

80flag is set, a backslash character is treated as an ordinary character.
81.It Dv FNM_PATHNAME
82Slash characters in
83.Fa string
84must be explicitly matched by slashes in
85.Fa pattern .
86If this flag is not set, then slashes are treated as regular characters.
87.It Dv FNM_PERIOD
88Leading periods in strings match periods in patterns.
88Leading periods in
89.Fa string
90must be explicitly matched by periods in
91.Fa pattern .
92If this flag is not set, then leading periods are treated as regular
93characters.
89The definition of ``leading'' is related to the specification of
90.Dv FNM_PATHNAME.
91A period is always ``leading'' if it is the first character in
92.Ar string .
93Additionally, if
94.Dv FNM_PATHNAME
95is set,
96a period is ``leading'' if it immediately follows a slash.

--- 30 unchanged lines hidden ---
94The definition of ``leading'' is related to the specification of
95.Dv FNM_PATHNAME.
96A period is always ``leading'' if it is the first character in
97.Ar string .
98Additionally, if
99.Dv FNM_PATHNAME
100is set,
101a period is ``leading'' if it immediately follows a slash.

--- 30 unchanged lines hidden ---