aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/fnmatch.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/fnmatch.3')
-rw-r--r--lib/libc/gen/fnmatch.314
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3
index 1231c75f48c9..8b556b59fcfe 100644
--- a/lib/libc/gen/fnmatch.3
+++ b/lib/libc/gen/fnmatch.3
@@ -92,14 +92,20 @@ must be explicitly matched by periods in
.Fa pattern .
If this flag is not set, then leading periods are treated as regular
characters.
-The definition of ``leading'' is related to the specification of
-.Dv FNM_PATHNAME.
-A period is always ``leading'' if it is the first character in
+The definition of
+.Dq leading
+is related to the specification of
+.Dv FNM_PATHNAME .
+A period is always
+.Dq leading
+if it is the first character in
.Ar string .
Additionally, if
.Dv FNM_PATHNAME
is set,
-a period is ``leading'' if it immediately follows a slash.
+a period is
+leading
+if it immediately follows a slash.
.It Dv FNM_LEADING_DIR
Ignore
.Nm /*