Context: https://lists.gnu.org/archive/html/bug-gawk/2025-03/msg00026.html

The `lq` and `rq` strings are not a groffism, but originate in 4BSD
(1980).[1]  They entered Unix System V with SVR4 (1988 or 1989).[2]
mandoc(1) has supported them since its inception.[3]

Plan 9 troff is the only implementation I know of that doesn't define
these strings in its man(7) package; I am preparing a patch for Plan 9
from User Space, a.k.a. "plan9port".

[1] https://minnie.tuhs.org/cgi-bin/utree.pl?file=4BSD/usr/lib/tmac/tmac.an.new
[2]
https://github.com/ryanwoodsmall/oldsysv/blob/e68293af91e2dc39f5f29c20d7e429f9e0cabc75/sysvr4/svr4/ucbcmd/troff/troff.d/tmac.d/an#L46
[3] 
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/mandoc/predefs.in?rev=1.1&content-type=text/x-cvsweb-markup

Patch attached.

Regards,
Branden
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 1150b5d..5455162 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -14,8 +14,7 @@
 .ie \n(.g .ds ' \(aq
 .el .ds ' '
 .if !\w@\*(lq@ \{\
-.\" Recent-enough groff an.tmac does not seem to be in use,
-.\" so define the strings lq and rq.
+.\" The implementation doesn't seem to support the strings `lq` or `rq`.
 .      ie \n(.g \{\
 .              ds lq \(lq\"
 .              ds rq \(rq\"

Attachment: signature.asc
Description: PGP signature

Reply via email to