[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint: run groff(1) when lint-ing man pages
From: |
Bernhard Voelker |
Subject: |
[PATCH] maint: run groff(1) when lint-ing man pages |
Date: |
Sat, 30 Sep 2023 15:10:19 +0200 |
Newer troff(1) complains about the TE macro:
find/find.1:908: warning: tbl preprocessor failed, or it or soelim \
was not run; table(s) likely not rendered (TE macro called with \
TW register undefined)
* build-aux/man-lint.sh: Change from troff(1) to groff(1).
---
build-aux/man-lint.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-aux/man-lint.sh b/build-aux/man-lint.sh
index b4026432..30f0335c 100755
--- a/build-aux/man-lint.sh
+++ b/build-aux/man-lint.sh
@@ -21,7 +21,7 @@ for manpage
do
what="lint check on manpage $manpage"
echo -n "$what: "
- messages="$( troff -t -man ${srcdir}/${manpage} 2>&1 >/dev/null )"
+ messages="$( groff -t -man ${srcdir}/${manpage} 2>&1 >/dev/null )"
if test -z "$messages" ; then
echo "passed"
else
--
2.42.0