diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-24 21:16:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-24 21:16:31 +0000 |
commit | be9bc5f32ffd94d94c5016589b6f29f421469ba4 (patch) | |
tree | 139a2a00d2063db94d037c731bce46dffd80e536 /regress/man/TP/badarg.out_ascii | |
parent | 756799ac8d72aa1ef4345816847ee80e91d61405 (diff) | |
download | mandoc-be9bc5f32ffd94d94c5016589b6f29f421469ba4.tar.gz |
Marc Espie reported that "man p*ipc" displayed the perlipc(1) manual.
The reason was that as a last resort when failing to find a page
name in mandoc.db(5) or at a few well well-defined fully qualified
file names, man(1) uses glob(3) to look for candidate files in
relevant directories, because some operating systems have weird
file name extensions, for example pcap.3pcap and BF_set_key.3ssl
on Linux. But during that globbing, the metacharacters "*?[" need
to be escaped in the name, section, and path supplied by the user,
or you would get weird false positives and misleading warning
messages and would be unable to use the fallback for path or file
names that actually contain an opening bracket.
Feedback and OK espie@.
Diffstat (limited to 'regress/man/TP/badarg.out_ascii')
0 files changed, 0 insertions, 0 deletions