Name

mk_fnmatch — Perform glob matching on path

Synopsis

mk_fnmatch path pattern

Description

Performs glob matching on a path. Unlike the shell's case syntax, wildcards will not match across path separators.

Returns 0 (logical true) if pattern matches path, or 1 otherwise.

This function does not change result.