[PATCH 09/40] Improve formatting of command synopses (1/2).
"G. Branden Robinson" <[email protected]> Thu, 13 Nov 2025 10:46:42 -0600
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <20251113164642.y5y45khwwiusbirv@illithid> |
* find/find.1: * locate/locate.1: Use `HP` hanging paragraph macro to indent non-initial lines of synopsis. Temporarily disable adjustment. An alternative approach would be to use groff man(7)'s `SY` and `YS` extension macros; each man page would then need to define local versions for portability to DWB 3.3, Plan 9, and Solaris 10 troffs. --- find/find.1 | 5 +++++ locate/locate.1 | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/find/find.1 b/find/find.1 index 9dc60f9a..86122e87 100644 --- a/find/find.1 +++ b/find/find.1 @@ -3,6 +3,9 @@ .SH NAME find \- search for files in a directory hierarchy .SH SYNOPSIS +.HP +.nr sA \n(.j \" Save the adjustment mode. +.na .B find .RB [ \-H ] .RB [ \-L ] @@ -13,6 +16,8 @@ .SH SYNOPSIS .IR level ] .RI [ starting-point .\|.\|.]\& .RI [ expression ] +.ad \n(sA \" Restore the adjustment mode. +.rr sA . .SH DESCRIPTION This manual page diff --git a/locate/locate.1 b/locate/locate.1 index 984558e1..d00fef89 100644 --- a/locate/locate.1 +++ b/locate/locate.1 @@ -3,6 +3,9 @@ .SH NAME locate \- list files in databases that match a pattern . .SH SYNOPSIS +.HP +.nr sA \n(.j \" Save the adjustment mode. +.na .B locate .RB [ \-d .I path @@ -61,6 +64,8 @@ .SH SYNOPSIS .BR \%\-\-print ] .RB \%[ \-\-help ] .IR pattern .\|.\|. +.ad \n(sA \" Restore the adjustment mode. +.rr sA . .SH DESCRIPTION This manual page -- 2.30.2
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmkWC3IACgkQ0Z6cfXEm bc604g/9GVulPxICYzVGTacO98m2BfsNfqbF8eiA2/99aV96/GNlOABPeX37TGxd i5OU/mvKMYq2T/WavAoLi3LK3o4T5TrfFelmJ0o8K8kX0jx1frabWUL7nKnWEzqK H2pTU+K6eOI/tTu3uQGUf9FPewUW6FX98VR5oAppZJehdMVC8eoS0nX9YMNBveUB qALKMtXxv/qdXQfu61CEzy4jvfHDvg/hhI5q3r7CssZms2q02tpotpLKZKdUy+Gp snUej3hRFN23NJ91nQb3ZUsOp2BGGR8ZQf/sMrFLPaPmVScOx9FlHi3gW2UD0jSE UN8HtpT6d6pv6jQOm9X9VXFErt/4a6O8DDY5MRmX1U55evf9XXanHsNyTT/XCmEf 5WmHHvtJFOSQp0kr1Velzlrem9x8QqqsUs7oEjloTO9jE8wSLmAIFr4gePaUZIkv vF3a4s9YA2hmTQkfmRxXlJVfNCGeen7lKa/bHfPqwP7JjqWTlr4sBwBMtn+RcNB5 yHqEs4FjDc6nGT70gDAI+PLLAY8Tusc36+9S2MVNG53ci6C0T1Y3kQyCWfy7qxxB hI7BXvVvaZxqct6vgrbs9fq9ys602nBQHU54STiTaqiYMDre3TWqEbDxurpav/Ld eZdcyxHvb+3X+m81uf3pRSW8Pqen5KM8GR79Uuv/Wc03eMK7psA= =g7En -----END PGP SIGNATURE-----