[PATCH 01/10] doc: state that POSIX from Issue 8 specifies 'find -iname'

Bernhard Voelker <[email protected]> Sat, 15 Nov 2025 21:24:52 +0100
Newsgroups gmane.comp.gnu.findutils.patches,gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
* doc/find.texi (-iname): Document POSIX compliance.
* find/find.1 (COMPATIBILITY): Mark POSIX compliance of -iname.
---
 doc/find.texi | 3 +++
 find/find.1   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/find.texi b/doc/find.texi
index 8ff047d6..cc0e47e1 100644
--- a/doc/find.texi
+++ b/doc/find.texi
@@ -508,6 +508,9 @@ Because the leading directories are removed, the file names considered
 for a match with @samp{-name} will never include a slash, so
 @samp{-name a/b} will never match anything (you probably need to use
 @samp{-path} instead).
+
+The @samp{-iname} option appeared first only in POSIX Issue 8 while
+GNU @code{find} supports it since version 3.8 (1993).
 @end deffn
 
 
diff --git a/find/find.1 b/find/find.1
index a51a2f4b..bb07efe2 100644
--- a/find/find.1
+++ b/find/find.1
@@ -2743,7 +2743,7 @@ Feature	Added in	Also occurs in
 \-ignore_readdir_race	4.2.0
 \-fls	4.0
 \-ilname	3.8
-\-iname	3.8
+\-iname	3.8	POSIX (from Issue 8)
 \-ipath	3.8
 \-iregex	3.8
 \-print0	2.0	POSIX (from Issue 8)
-- 
2.51.1