[PATCH 16/40] man pages: Access en dash character portably.

"G. Branden Robinson" <[email protected]> Thu, 13 Nov 2025 10:47:55 -0600
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <20251113164755.tvrb67d5ejjsuoal@illithid>
The `\(en` special character escape sequence is not universally
portable.  Indirect it through a string definition.
---
 find/find.1       |  6 ++++--
 locate/locate.1   |  8 +++++++-
 locate/locatedb.5 | 10 ++++++++--
 locate/updatedb.1 |  8 +++++++-
 xargs/xargs.1     | 10 ++++++++--
 5 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/find/find.1 b/find/find.1
index 10310edb..229e1345 100644
--- a/find/find.1
+++ b/find/find.1
@@ -3,11 +3,13 @@
 .ie \n(.g \{\
 .  ds " \(dq
 .  ds ' \(aq
+.  ds en \(en
 .\}
 .el \{\
 .  \" \*" is not usable in macro arguments on AT&T troff.
 .  ds " ""\" two adjacent quotes and no space before this comment
 .  ds ' '
+.  ds en \-
 .\}
 .SH NAME
 find \- search for files in a directory hierarchy
@@ -2691,7 +2693,7 @@ .SH HISTORY
 Programmer's Workbench project and was written by Dick Haight.  Doug
 McIlroy's
 .I A Research UNIX Reader: Annotated Excerpts from the Programmer's \
-Manual, 1971\(en1986
+Manual, 1971\*(en1986
 provides some additional details; you can read it on-line at
 <https://www.cs.dartmouth.edu/~doug/reader.pdf>.
 .P
@@ -2854,7 +2856,7 @@ .SH REPORTING BUGS
 .RE
 .
 .SH COPYRIGHT
-Copyright \(co 1990\(en2025 Free Software Foundation, Inc.
+Copyright \(co 1990\*(en2025 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 .br
 This is free software: you are free to change and redistribute it.
diff --git a/locate/locate.1 b/locate/locate.1
index 4f992e8b..f4a5e676 100644
--- a/locate/locate.1
+++ b/locate/locate.1
@@ -1,4 +1,10 @@
 .TH LOCATE 1 2020-12-27 findutils \" -*- nroff -*-
+.ie \n(.g \{\
+.  ds en \(en
+.\}
+.el \{\
+.  ds en \-
+.\}
 .SH NAME
 locate \- list files in databases that match a pattern
 .
@@ -340,7 +346,7 @@ .SH "REPORTING BUGS"
 .RE
 .
 .SH COPYRIGHT
-Copyright \(co 1994\(en2025 Free Software Foundation, Inc.
+Copyright \(co 1994\*(en2025 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 .br
 This is free software: you are free to change and redistribute it.
diff --git a/locate/locatedb.5 b/locate/locatedb.5
index 2b952ffa..9cde7989 100644
--- a/locate/locatedb.5
+++ b/locate/locatedb.5
@@ -1,4 +1,10 @@
 .TH LOCATEDB 5 2020-12-27 findutils \" -*- nroff -*-
+.ie \n(.g \{\
+.  ds en \(en
+.\}
+.el \{\
+.  ds en \-
+.\}
 .SH NAME
 locatedb \- front-compressed file name database
 .
@@ -107,7 +113,7 @@ .SH Old Locate Database format
 bigrams in the file list.  A bigram is a pair of adjacent bytes.
 Bytes in the database that have the high bit set are indexes (with the
 high bit cleared) into the bigram table.  The bigram and
-offset-differential count coding makes these databases 20\(en25% smaller
+offset-differential count coding makes these databases 20\*(en25% smaller
 than the new format, but makes them not 8-bit clean.  Any byte in a
 file name that is in the ranges used for the special codes is replaced
 in the database by a question mark, which not coincidentally is the
@@ -159,7 +165,7 @@ .SH "REPORTING BUGS"
 .RE
 .
 .SH COPYRIGHT
-Copyright \(co 1994\(en2025 Free Software Foundation, Inc.
+Copyright \(co 1994\*(en2025 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 .br
 This is free software: you are free to change and redistribute it.
diff --git a/locate/updatedb.1 b/locate/updatedb.1
index 04314f6a..d7b2fa68 100644
--- a/locate/updatedb.1
+++ b/locate/updatedb.1
@@ -1,4 +1,10 @@
 .TH UPDATEDB 1 2023-11-10 findutils \" -*- nroff -*-
+.ie \n(.g \{\
+.  ds en \(en
+.\}
+.el \{\
+.  ds en \-
+.\}
 .SH NAME
 updatedb \- update a file name database
 .SH SYNOPSIS
@@ -140,7 +146,7 @@ .SH "REPORTING BUGS"
 .RE
 .
 .SH COPYRIGHT
-Copyright \(co 1994\(en2025 Free Software Foundation, Inc.
+Copyright \(co 1994\*(en2025 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 .br
 This is free software: you are free to change and redistribute it.
diff --git a/xargs/xargs.1 b/xargs/xargs.1
index cfb0da4b..3e73eb0d 100644
--- a/xargs/xargs.1
+++ b/xargs/xargs.1
@@ -1,4 +1,10 @@
 .TH XARGS 1 2024-06-03 findutils \" -*- nroff -*-
+.ie \n(.g \{\
+.  ds en \(en
+.\}
+.el \{\
+.  ds en \-
+.\}
 .SH NAME
 xargs \- build and execute command lines from standard input
 .SH SYNOPSIS
@@ -430,7 +436,7 @@ .SH "EXIT STATUS"
 .IP 0
 if it succeeds
 .IP 123
-if any invocation of the command exited with status 1\(en125
+if any invocation of the command exited with status 1\*(en125
 .IP 124
 if the command exited with status 255
 .IP 125
@@ -585,7 +591,7 @@ .SH "REPORTING BUGS"
 .RE
 .
 .SH COPYRIGHT
-Copyright \(co 1990\(en2025 Free Software Foundation, Inc.
+Copyright \(co 1990\*(en2025 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
 .br
 This is free software: you are free to change and redistribute it.
-- 
2.30.2
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmkWC7sACgkQ0Z6cfXEm
bc4X+BAAhkxD1N4d5Oi0woOg/Ll7E+pEC82remxjnw4siFen1B8A4kHfasJskrtx
u0zyHHoX2EIGSMlcx5PeGVuDRtCwPU/6gfb/JBRZNLrrnYXIzhgNG2HoXqVA/LU1
IEGz9/wp20pwFlCicees4fjdE4NFOrVbeGH+EDhZsi7xoU6Paz44/Yw+pKut1pae
UAFbIJNh3SKVBl/cRgb3Ol8/hLU3HGOfJp0bQ8QqnO8L/ejHIpbMPAMMLLEpYu+0
YNutuuDrJpkTFe9yOu42B+nXcUR8UZ5Z5SUsav42C2KqtGWmm00XMnExZHSSq+lb
gpRf9i68+vvcb3S13+1C61FWgN4pPkJmeyRprghTJkO/0pCnyANFs1M/7U2yF+9w
rZO8tH16+1BXlP+gTorqGOKrU4nTKEC/lT3tjnXa+vaZkDg9UmRqxF14z0JhmahU
vQUb+1TVcbzLNXtWQA9ZKYhVBliRnGhqNYjyvrt02JPFLe9b4LRJHIafa0692cPx
Xo7ILjFQ/TF7RR/vmCr/k2F9RJr/4dubYa3p2JbuLmGlWd+B1jevTnO9LUbYmZsM
/Czsv9Ti40yD9u2O1Uzl8SkUGB2JlgoFm+LotYNqnmtzVe/fkb8MLb7gEcsg01x3
SMWyTDB23DtNu7I61VIF+qpCEGfKayPsL63REYG3syfn2ge7XLI=
=mQJs
-----END PGP SIGNATURE-----