Re: awk gensub documentation

2024-06-19 Thread Alistair Crooks
On Tue, 18 Jun 2024 at 07:57, Valery Ushakov wrote: > My eye accidentally caught this phrase in awk(1), that says in the > description of gensub(): > > Note that the ā€˜\n’ sequences within replacement string s supported > by GNU awk are not supported at this moment. > > I assume what it means

Re: awk gensub documentation

2024-06-19 Thread Valery Ushakov
On Wed, Jun 19, 2024 at 10:26:33 -0700, Alistair Crooks wrote: > > I assume what it means to say is \ backreferences, not the 0xa NL > > character, but I wanted to ask the audience. > > > > In src/external/historical/nawk/dist/run.c around line 2137, this is the > definition of gensub(), which do

awk gensub documentation

2024-06-18 Thread Valery Ushakov
My eye accidentally caught this phrase in awk(1), that says in the description of gensub(): Note that the ā€˜\n’ sequences within replacement string s supported by GNU awk are not supported at this moment. I assume what it means to say is \ backreferences, not the 0xa NL character, but I wanted