mc/maint/doctest
2002-10-30 07:37:53 +00:00

10 lines
483 B
Bash
Executable File

#!/bin/sh
# Test the documentation for possible errors.
find doc -name '*.[1-9].in' -exec groff -wall -mandoc -Tps {} \; >/dev/null 2>doctest-ps.out
find doc -name '*.[1-9].in' -exec groff -wall -mandoc -Tdvi {} \; >/dev/null 2>doctest-dvi.out
find doc -name '*.[1-9].in' -exec nroff -mandoc -Tlatin1 {} \; >/dev/null 2>doctest-nroff.out
# Check English manuals to be in ASCII.
find doc -maxdepth 1 -name '*.[1-9].in' -exec groff -wall -Tascii {} \; >/dev/null 2>doctest-ascii.out