gbranden pushed a commit to branch master
in repository groff.
commit c68d8bad558464506cf88e7db12e4e34d09e34f4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 9 05:49:29 2024 -0500
groff_diff(7): Note use of `\?` with comparisons.
---
man/groff_diff.7.man | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 99de1a390..f7c14b043 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -1319,8 +1319,34 @@ The remainder of the word is subject to hyphenation as
normal.
.
.TP
.BI \[rs]? anything \[rs]?
+Suppress formatting of
+.I anything.
+.
+This feature has two applications.
+.
+.
+.IP
+Use it with the output comparison operator to compare its operands
+by character rather than as formatted output.
+.
+Since
+.MR @g@troff
+reads comparands protected with
+.B \[rs]?\&
+in copy mode,
+they need not even be valid
+.I groff
+syntax.
+.
+The escape character is still lexically recognized,
+however,
+and consumes the next character.
+.
+.
+.IP
When used in a diversion,
-this escape sequence transparently embeds input,
+.B \[rs]?\&
+transparently embeds input,
read in copy mode,
until its own next occurrence on the input line.
.
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit