summaryrefslogtreecommitdiff
path: root/aux-gnurl/man_lint.sh
blob: 7adf1501e91c4777feff94926d0aae55b7ce59a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# spit out ONLY error messages using groff.
for f in `find 'docs/' -name \*\.[1-9]`;
do
    LC_ALL=en_US.UTF-8 \
    MANROFFSEQ='' \
    MANWIDTH=80 \
    groff -m mandoc -b -z -w w $f;
done
# spit out ONLY error messages with mandoc:
mandoc -T lint `find 'docs/' -name \*\.[1-9]`