Print this page
1209 fnmatch(3C) should mention FNM_IGNORECASE
Reviewed by: Marcel Telka <marcel@telka.sk>

*** 5,15 **** .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] ! .TH FNMATCH 3C "Jul 24, 2002" .SH NAME fnmatch \- match filename or path name .SH SYNOPSIS .LP .nf --- 5,15 ---- .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] ! .TH FNMATCH 3C "Jun 6, 2015" .SH NAME fnmatch \- match filename or path name .SH SYNOPSIS .LP .nf
*** 44,53 **** --- 44,68 ---- .RE .sp .ne 2 .na + \fB\fBFNM_IGNORECASE\fR\fR + .ad + .RS 18n + If set, the \fIstring\fR will be transliterated to lower case before doing the + actual match. This transliteration is done using \fBtowlower_l\fR(3C), using + the locale of the current thread. If no locale is set, then the global locale + is used instead. + .sp + If not set, the match will use \fIstring\fR with no changes, making the match + case-sensitive. + .RE + + .sp + .ne 2 + .na \fB\fBFNM_NOESCAPE\fR\fR .ad .RS 18n If not set, a backslash character (\fB\e\fR) in \fIpattern\fR followed by any other character will match that second character in \fIstring\fR. In
*** 80,90 **** character of \fIstring\fR. .RE .RE .sp ! .LP If not set, no special restrictions are placed on matching a period. .SH RETURN VALUES .sp .LP If \fIstring\fR matches the pattern specified by \fIpattern\fR, then --- 95,105 ---- character of \fIstring\fR. .RE .RE .sp ! .RS 18n If not set, no special restrictions are placed on matching a period. .SH RETURN VALUES .sp .LP If \fIstring\fR matches the pattern specified by \fIpattern\fR, then