[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Question about .substring
From: |
Steffen Nurpmeso |
Subject: |
Re: [Groff] Question about .substring |
Date: |
Wed, 19 Nov 2014 17:42:33 +0100 |
User-agent: |
s-nail v14.7.8-72-gb9e3dff |
Tadziu Hoffmann <address@hidden> wrote:
|> Hello: this is a bug?
|[snip]
|
|Where do you see a bug?
|
|man 7 groff:
|
| .substring xx n1 n2
| Replace the string named xx with the substring defined by
| the indices n1 and n2.
|
|groff:
|
| .ds x abc
| .substring x 0 1
| .tm \*x
|--> ab
| .ds x abc
| .substring x 0 0
| .tm \*x
|--> a
Hm, i now recognize the word indices. And have seen
a documentation improvement commit as well as a thread back from
2002-07.
My fault, usually this is index:length not
index:inclusive-index-of-substring.
Sorry.. and thanks,
--steffen
- [Groff] Question about .substring, Steffen Nurpmeso, 2014/11/19
- Re: [Groff] Question about .substring, Tadziu Hoffmann, 2014/11/19
- Re: [Groff] Question about .substring,
Steffen Nurpmeso <=
- Re: [Groff] Question about .substring, Ingo Schwarze, 2014/11/19
- Re: [Groff] Question about .substring, Steffen Nurpmeso, 2014/11/19
- Re: [Groff] Question about .substring, Ingo Schwarze, 2014/11/19
- Re: [Groff] Question about .substring, Ralph Corderoy, 2014/11/19
- Re: [Groff] Question about .substring, Steffen Nurpmeso, 2014/11/20
- Re: [Groff] Question about .substring, Ingo Schwarze, 2014/11/20
- Re: [Groff] Question about .substring, Ralph Corderoy, 2014/11/20
- Re: [Groff] Question about .substring, Tadziu Hoffmann, 2014/11/20
- Re: [Groff] Question about .substring, Ralph Corderoy, 2014/11/20
- Re: [Groff] Question about .substring, Tadziu Hoffmann, 2014/11/20