fnmatch.3 (19059) | fnmatch.3 (19132) |
---|---|
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: --- 85 unchanged lines hidden (view full) --- 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. | 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: --- 85 unchanged lines hidden (view full) --- 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. |
102.It Dv FNM_ICASE | 102.It Dv FNM_LEADING_DIR 103Ignore 104.Nm /* 105rest after successful 106.Fa pattern 107matching. 108.It Dv FNM_CASEFOLD |
103Ignore case distinctions in both the 104.Fa pattern 105and the 106.Fa string . 107.El 108.Sh RETURN VALUES 109The 110.Fn fnmatch --- 26 unchanged lines hidden --- | 109Ignore case distinctions in both the 110.Fa pattern 111and the 112.Fa string . 113.El 114.Sh RETURN VALUES 115The 116.Fn fnmatch --- 26 unchanged lines hidden --- |