fnmatch.3 (15706) | fnmatch.3 (19059) |
---|---|
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 103Ignore case distinctions in both the 104.Fa pattern 105and the 106.Fa string . |
|
102.El 103.Sh RETURN VALUES 104The 105.Fn fnmatch 106function returns zero if 107.Fa string 108matches the pattern specified by 109.Fa pattern , --- 22 unchanged lines hidden --- | 107.El 108.Sh RETURN VALUES 109The 110.Fn fnmatch 111function returns zero if 112.Fa string 113matches the pattern specified by 114.Fa pattern , --- 22 unchanged lines hidden --- |