On Wed, Jun 04, 2025 at 04:07:43AM -0500, NR wrote:
> On Wed, Jun 4, 2025 at 4:05 AM NR <nroycea+...@gmail.com> wrote:
> >
> > b92d3c94189a7cbf8ca7fba5a4ccdec03459386c
> > ```
> > gawk -f ./jrtangle ./ti.twjr || rm -f texindex.awk
> > gawk: ./jrtangle:28:            match(PROCINFO["version"], /^[0-9]+\./, v);
> > gawk: ./jrtangle:28:
> >   ^ match: third argument is a gawk extension
> > sed -e 's,[@]pkgdatadir[@],/usr/share/texinfo,g' -e
> > 's,[@]TI_AWK[@],/usr/bin/awk,g' -e 's,[@]PACKAGE[@],texinfo,g' -e
> > 's,[@][@]*VERSION[@][@]*,7.2dev,g' <texindex.awk >texindex.awk-tmp
> > ```
> > (third argument is the `v`)
> >
> > gawk 5.3.1 (Arch)
> 
> Correction: 0de2b6d89ee2e99b18058f9b620d6b5744f46b83
> 

Does the build stop at this point or is it just a warning
message?

Evidently gawk is running in some kind of compatibility mode
where it refuses to accept gawk extensions.

https://www.gnu.org/software/gawk/manual/html_node/String-Functions.html#index-match_0028_0029-function

"The array argument to match() is a gawk extension. In compatibility mode
(see Command-Line Options), using a third argument is a fatal error."

I don't understand why this would be in compatibility mode though.


Reply via email to