Hi, Tadziu Hoffmann wrote on Wed, Nov 19, 2014 at 05:20:54PM +0100: > Steffen Nurpmeso 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. The wording could be improved. As it stands, it is not clear whether the character at index n2 is the last character included or the first character not included. Maybe: Replace the string named xx with its substring beginning with the zero-based index n1 and ending with index n2, inclusively. > groff: > > .ds x abc > .substring x 0 1 > .tm \*x > --> ab > .ds x abc > .substring x 0 0 > .tm \*x > --> a