gbranden pushed a commit to branch master
in repository groff.
commit 954e9fbb989f42dcb993012610c01eeea79670f7
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Jan 5 08:49:55 2026 -0600
groff_mdoc(7): Recast new paragraph on - and \-.
Add Unicode code point for ineradicable disambiguation, per suggestion
from Ingo Schwarze.
See <https://savannah.gnu.org/bugs/?67881>.
---
tmac/groff_mdoc.7.man | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index f669c65cf..8ef0d6078 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -619,9 +619,10 @@ and dashes of various widths.
.
When inputting a hyphen or dash
.Pq Dq hyphen-minus
-that is intended for copy-and-paste to shell prompts,
-program code,
-or URLs,
+(Unicode U+002D)
+that should be usable
+in URLs
+or copy-and-paste operations to shell prompts or program code,
prefix it with the escape character:
.Ql \[rs]\- .
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit