ching(6): Support to format with mandoc(1)
authorAaron LI <aly@aaronly.me>
Fri, 19 Feb 2021 10:51:44 +0000 (18:51 +0800)
committerAaron LI <aly@aaronly.me>
Fri, 19 Feb 2021 15:45:55 +0000 (23:45 +0800)
commit169b629f5bc075f52d87d712d59504849ee92678
tree045bad34fb4dd866b221e1048caa1368d1c7b70f
parentbc8373b4af4bcdb0c823c1769835776de659c6d4
ching(6): Support to format with mandoc(1)

We don't ship nroff(1) anymore, so adapt ching(6) to support to use
mandoc(1) to format its output.  Mandoc(1) only implements part of
roff(7) language, but it's enough for ching(6), although minor
adjustments to the mandoc(1) output are needed to make it similar to
the nroff(1) output.

Prefer nroff(1) if it's available (provided by groff package).
games/ching/ching/ching.sh