From: Sebastien Marie Subject: Re: reference glob(7), not fnmatch(3) in utility manuals To: Jason McIntyre , tech@openbsd.org Date: Sat, 30 Nov 2024 07:07:55 +0100 Jason McIntyre 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