How well do you know groff's .do request? Put it to the test! I found the existing man page documentation much too light and a certain paragraph in the Texinfo manual confounding.
But I know there are people reading this list who are highly experienced, or simply more clever than I am. Pretend you are groff, running without the -C flag, writing to an nroff device, and you are given the region between the SNIPs below as input. What will your output be? A plain-text hint is attached, as well as the solution, base64-encoded. ---SNIP--- .pl 1v .de mac1 FOO .. .de1 mac2 groff .mac1 .. .de mac3 compatibility .mac1 .. .de ma \\$1 .. .cp 1 .do mac1 .do mac2 .do mac3 .do ma \[ti] ---SNIP--- Regards, Branden
Interpret the string, request, or macro mac (along with any arguments) with compatibility mode disabled. Note that compatibility mode is restored (if and only if it was active) when the expansion of mac is interpreted; if mac is a .so, .mso, or .pso request, the restored compatibility state applies to the file or pipe read.
Rk9PIGdyb2ZmIEZPTyBjb21wYXRpYmlsaXR5IGMxIH4K
signature.asc
Description: PGP signature