summaryrefslogtreecommitdiff
path: root/aux-gnurl/man_lint.sh
blob: b43d2e0eece93b4120f072bcaf72560f58526244 (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]`