On Fri, 31 Jul 2020 15:11:15 +0200 Tadziu Hoffmann <[email protected]> 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. --
