Re: [PATCH 2/2] find.1: highlight the find(1) tool in more places.

Bernhard Voelker <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
On 10/14/23 20:39, Bernhard Voelker wrote:
> +.find find

Drats!
A lint check complains about this syntax error, and prohibits a successful build.

Fixed with the attached and pushed at:
   https://git.savannah.gnu.org/cgit/findutils.git/commit/?id=c79e5f7973848

Have a nice day,
Berny
0001-find.1-fix-syntax-error.patch (text/x-patch, 1012 B)
From c79e5f7973848565fc275214592a53ae2db5d1f5 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <[email protected]>
Date: Sat, 11 Nov 2023 17:31:52 +0100
Subject: [PATCH] find.1: fix syntax error

Build failed with:
  $ build-aux/man-lint.sh find find.1
  lint check on manpage find.1: FAILED:
  troff:find/find.1:2048: warning: macro 'find' not defined \
  (possibly missing space after 'fi')

* find/find.1: Fix highlighting.
Bug introduced in recent commit 9a6b5821e680.
---
 find/find.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/find/find.1 b/find/find.1
index 08ae9d55..7d17a1d3 100644
--- a/find/find.1
+++ b/find/find.1
@@ -2044,7 +2044,7 @@ utility shall detect infinite loops; that is, entering a
 previously visited directory that is an ancestor of the last file
 encountered.
 When it detects an infinite loop,
-.find find
+.B find
 shall write a diagnostic message to standard error and shall either recover its
 position in the hierarchy or terminate.
 .P
-- 
2.42.1
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.