#!/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]`