Download raw body.
reference glob(7), not fnmatch(3) in utility manuals
Jason McIntyre <jmc@kerhand.co.uk> writes: > On Fri, Nov 29, 2024 at 12:07:09PM -0800, Evan Silberman wrote: >> User utilities supporting glob(7) patterns should refer to that manual, >> rather than fnmatch(3), which doesn't actually document the pattern >> language. >> > > hi. there are at least two instances of "an glob" that are wrong. > > openbsd devs: i'd appreciate an ok for this. fnmatch(3) (the libc function) matches patterns according to the globbing rules (in glob(7)). so it makes sense to me to refer to glob(7) (pattern documentation) instead of fnmatch(3) (which is implementation detail) in user utilities like diff(1), kstat(1), locate(1), and tmux(1). ok semarie@ -- Sebastien Marie
reference glob(7), not fnmatch(3) in utility manuals