groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quick question: how to do .index in groff?


From: B 9
Subject: Quick question: how to do .index in groff?
Date: Thu, 23 Jul 2020 16:13:41 -0700
User-agent: s-nail v14.9.11

Heirloom Troff has a handy string search function called .index which
works like this:

.index R xx string

The position where string occurs in xx is stored in register R.

It doesn't seem to work yet in Groff, but I'm hoping somebody has a
macro that implements .index.

Thanks,

--b9



reply via email to

[Prev in Thread] Current Thread [Next in Thread]