#!/usr/bin/env -S gawk -E
##
## Minimal example using GAWK.
##
## I do not bite. I just want to play.
##
BEGIN {
N="/inet/tcp/0/nightfall.city/1900"
print "nex" |& N
while( N |& getline ) print
close(N)
}
##
## There are two or more AWK compilers that should(TM) support GAWK-like
## network functions, but those I tried to get this compiled, failed on
## this at run time and just did hang. For simple NNTP examples too.
##
## --> https://github.com/noyesno/awka
## --> https://github.com/maxeem/awka
##
## It probably takes a C wizard to fix them. *sigh!*
##