GNU awk manual on
NOTE: For many years,
nextfilewas a common extension. In September 2012, it was accepted for inclusion into the POSIX standard. See the Austin Group website.
Likewise, mawk manual says:
Nextfile is a gawk extension (also implemented by BWK awk), is not yet part of the POSIX standard (as of October 2012), although it has been accepted for the next revision of the standard.
What confuses me is that there is no mention of
nextfile in the latest POSIX specification, from 2018.
Following the link to the Austin Group, you find that the issue was resolved in 2012 (with even a final accepted text), but only applied in 2020(!).
All in all, does it mean
nextfile is an awk's feature specified by POSIX? Or will it only be so in a future POSIX version?
(For practical purposes,
nextfile is also to be found in BSD awk.)