[PATCH] maint: run groff(1) when lint-ing man pages

Bernhard Voelker <[email protected]>
Newsgroups gmane.comp.gnu.findutils.patches,gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.