HomeFreeBSD

mancheck: exclude dotfiles in man dir

Description

mancheck: exclude dotfiles in man dir

Its not uncommon for an editor to drop a hidden swap file in the dir
while editing a file there. mancheck would find it and run mandoc on it,
which would complain about its distinctly not-manpage format.

A more correct solution might be to reconfigure the editor to not put
swap files in the same dir, but its the default a lot of the time, and
this is a very small change that gives a very nice quality-of-life
improvement.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #14549

Details

Provenance
rob.norris_klarasystems.comAuthored on Mar 1 2023, 5:38 PM
GitHub <noreply@github.com>Committed on Mar 1 2023, 5:38 PM
Parents
rG4fe9cc543744: man: note that zdb operates directly on pool storage
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG25c4d1f03215: mancheck: exclude dotfiles in man dir (authored by Rob N <robn@despairlabs.com>).Mar 1 2023, 5:38 PM