From: meillo@marmaro.de (markus schnalke)
Subject: [TUHS] For all you troff hackers...
Date: Wed, 17 Feb 2016 14:55:55 +0100 [thread overview]
Message-ID: <1aW2aB-0cH-00@marmaro.de> (raw)
In-Reply-To: <0A055D2F-3D2E-4B4C-BFFB-A27A49D64707@ronnatalie.com>
Hoi,
thanks for pointing to that! I would have missed it but now I had a
good laugh. :-)
> part 1 image/tiff 68K
Just for the record, it's that one: https://xkcd.com/1638/
Grepped* my troff sources and found no more than four backslashes
in a row, but at least I got 16 in one line:
.ds _O '\f(SCChapter \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN' \" right
Seems I haven't gone deep enough into troff to need more than
four backslashes to manage my way back up into daylight. :-)
The Heirloom doctools' mm macros impress a lot more. They have
16 subsequent (!) backslashes:
$ fgrep '\\\\\\\\\\\\\\\\' /usr/local/lib/doctools/tmac/*
/usr/local/lib/doctools/tmac/mmn:\!\\!.if \\$2=\\\\\\\\\\\\\\\\$1 .)T 1 1 "\\*(}0" "\\$4" \\\\\\\\nP \\*(}3
/usr/local/lib/doctools/tmac/mmt:\!\\!.if \\$2=\\\\\\\\\\\\\\\\$1 .)T 1 1 "\\*(}0" "\\$4" \\\\\\\\nP \\*(}3
You see, this XKCD cartoon is definitely about troff!
meillo
*) Nice thread about grep, btw.
prev parent reply other threads:[~2016-02-17 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-08 17:55 Ronald Natalie
2016-02-08 19:02 ` Random832
2016-02-17 13:55 ` markus schnalke [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1aW2aB-0cH-00@marmaro.de \
--to=meillo@marmaro.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).