Re: Find a char in string

2021-07-05 Thread John Ankarström
Den 2021-06-23 kl. 21:48 skrev Wim Stockman: > Is there a function in groff to find the position of a char in a string. > So I can split a string into more than one. > I found the substring function that can cut based on length. If I could my > marker in the string I could cut it there. Heirloom t

Re: groff supports Italian input documents now

2021-07-05 Thread Ingo Schwarze
Hi Dave, Dave Kemper wrote on Mon, Jul 05, 2021 at 08:36:56AM -0500: > On 7/3/21, G. Branden Robinson wrote: >> These are all fair points and I will chew on them, and would like to >> solicit the views of others on this as well. > I agree with Ingo's point that the document author is in the bes

Re: utmac -muh error on Ubuntu

2021-07-05 Thread Tadziu Hoffmann
> > echo ".ds head-str ${str: -1}" > The compatible syntax is ${str:-1}. I wonder if that is meant, though. Bash also has ${parameter:offset} ${parameter:offset:length} Substring Expansion. Expands to up to length characters of the value of parameter starting at the character spe

Re: Find a char in string

2021-07-05 Thread Dave Kemper
On 6/26/21, Wim Stockman wrote: > Maybe the groff maintainers could include these macros to the > manual. Because they contain some nice idiomatic features. These would be great candidates for the groff-examples repository that I keep trying to trick someone into creating and maintaining (http:/

Re: groff supports Italian input documents now

2021-07-05 Thread Dave Kemper
On 7/3/21, G. Branden Robinson wrote: > These are all fair points and I will chew on them, and would like to > solicit the views of others on this as well. I agree with Ingo's point that the document author is in the best position to know which language-specific macro package is required to forma