From da8b3e965c75710cd8016f2831f0a3a476a2e9c7 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Mon, 1 Jan 2024 23:01:52 +0100 Subject: [PATCH 3/4] doc/find.texi: avoid 'update-copyright' changing code sample output * doc/find.texi (@node O_NOFOLLOW): Add a grep filter to 'find --version' to only get the wanted "Features" line, thus avoiding to have a regular Copyright line in the texi file. Previously, that place always had to be reverted after 'make update-copyright'. --- doc/find.texi | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/doc/find.texi b/doc/find.texi index 6d3bf832..a60eb7fd 100644 --- a/doc/find.texi +++ b/doc/find.texi @@ -5402,20 +5402,12 @@ supported. You can tell if your system supports @code{O_NOFOLLOW} by running @example -find --version +find --version | grep Features @end example This will tell you the version number and which features are enabled. For example, if I run this on my system now, this gives: @example -find (GNU findutils) 4.8.0 -Copyright (C) 2021 Free Software Foundation, Inc. -License GPLv3+: GNU GPL version 3 or later \ -. -This is free software: you are free to change and redistribute it. -There is NO WARRANTY, to the extent permitted by law. - -Written by Eric B. Decker, James Youngman, and Kevin Dalley. Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION \ FTS(FTS_CWDFD) CBO(level=2) @end example -- 2.43.0