Im testing on Linux and Tru64 the use of |&
and somehow it works on the socket layer, but the
output towrads a |& does not work with a print?
Do you know if /inet/tcp/... is supported by awka? from
gawk 3.1?
If yes will a print "blabal" |& mysocket work ??
It is compiled without problems and it works under gawk
-f file.awk
but compiled with awka (latest version) i dont get
output...
below a source example.. perhpas you see the issue?
BEGIN {
slurpd = "/inet/tcp/2222/localhost/0"
print strftime() " - Daemon started"
while ((slurpd |& getline ) > 0 )
print "Slurp..." |&
slurpd
close (slurpd)
print strftime() " - Daemon stoped"
}