[PATCH 15/42] find.1: access ` character portably
"G. Branden Robinson" <[email protected]> Tue, 18 Nov 2025 21:46:17 -0600
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <20251119034617.vt2hyjg5kb4fnrpm@illithid> |
When using ` as the Unix shell's command output substitution operator, use the portable *roff `\(ga` special character escape sequence to ensure that we really format a grave accent rather than a typographer's single quotation mark (‘). --- find/find.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/find/find.1 b/find/find.1 index befc5b27..13e1efff 100644 --- a/find/find.1 +++ b/find/find.1 @@ -2268,7 +2268,7 @@ .SH "ENVIRONMENT VARIABLES" . .SH EXAMPLES .\" A bulleted \(bu list of examples. -.SS "Simple `find|xargs` approach" +.SS "Simple \(gafind|xargs\(ga approach" .IP \(bu 4n Find files named .I core @@ -2285,7 +2285,7 @@ .SS "Simple `find|xargs` approach" Note that this will work incorrectly if there are any filenames containing newlines, single or double quotes, or spaces. . -.SS "Safer `find \-print0 | xargs \-0` approach" +.SS "Safer \(gafind \-print0 | xargs \-0\(ga approach" .IP \(bu 4n Find files named \fIcore\fP in or below the directory \fI/tmp\fP and delete them, processing filenames in such a way that file or -- 2.30.2
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmkdPYkACgkQ0Z6cfXEm bc43OQ//RvSzO16SEYsCp3IShmtfgeWMDeWZLY7+WRRUBfO6WOp2nrW3NkbFhmqr yByYlLPPLuUyhzwH5aw7kb6/j8vi+8WLim5QunVaNp5K6It8824rkw9dQEOtb4HF WPu+pjL2c6nYOEYoI9N/2FXwZXItjBRvG6W38MlE40wsdgv3g97yqwioCJLYElkt iPAJ7ruYe446bl19UoI/kJgdSRQ10v0a85m6SEmja+uivfAfPfLZCaDXDVAWrQ41 owPaa5bcz6MV2zb6gu7/9mc+5xmznNG1FcX/s09rSDK8FZ/qjFh1VXvg7+pEwY1p aPKddOcsB2FfWAB3PxPATRhONaXOyoOe6CBR58zIy+Nk2bxsrkpL2qGgP5fZXyZX dIDVJ7YIrYwGvgMya9KKcIiOIdYkOBIGb45NpddiCwIRej0GlHVqXITGT+fpqL4k HnH1XTmetmkWkxT6SEc9nfsP3JlbrQA8QW2K39Wq/mYc2v5vb9IRSFFEsOP3EpEr 9BY5zZROiOajZr3SVX0Xyj8LWc0nf3x/58o6hJGkFmsi0V6D4gLeeyC9IpH5Udl1 cby8ahLo/H/JeN3UHBt5TUjyOG1CBtjCRBdCVq29PlZnDG32NL4WLKaU98rfa2L9 vcviZzi303I9vA+mpMDexcasWqioCQpmsV1hCpCQBndAaXA+ru4= =S7Fw -----END PGP SIGNATURE-----