[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quick question: how to do .index in groff?
From: |
Denis M. Wilson |
Subject: |
Re: Quick question: how to do .index in groff? |
Date: |
Fri, 31 Jul 2020 14:42:19 +0100 |
On Fri, 31 Jul 2020 15:11:15 +0200
Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de> wrote:
> > If it DOES get implemented in Groff, please name it `.indexof`.
> > The name `.index` is so horribly misleading I'm almost tempted
> > to submit a PR just to rename it.
>
> Why not ".strpos"?
>
or ".strstr" as in the C library?
My own view is not to make it a command, as I'm against code bloat, but
to write it as a macro. There are lots of useful string manipulation
functions that could be part of a strings package.
--
- Re: Quick question: how to do .index in groff?, (continued)
- Re: Quick question: how to do .index in groff?, Denis M. Wilson, 2020/07/24
- Re: Quick question: how to do .index in groff?, Denis M. Wilson, 2020/07/24
- Re: Quick question: how to do .index in groff?, B 9, 2020/07/25
- Re: Quick question: how to do .index in groff?, Denis M. Wilson, 2020/07/27
- Re: Quick question: how to do .index in groff?, B 9, 2020/07/31
- Re: Quick question: how to do .index in groff?, John Gardner, 2020/07/31
- Re: Quick question: how to do .index in groff?, Tadziu Hoffmann, 2020/07/31
- Re: Quick question: how to do .index in groff?,
Denis M. Wilson <=
Re: Quick question: how to do .index in groff?, Bjarni Ingi Gislason, 2020/07/25