Closed dspinellis closed 3 years ago
Hi @dspinellis, can you please provide me with such an example to test against.
awk '{print}'
should fail with an error, while awk 'BEGIN{print "hello "} END {print "world"}' /dev/null
should succeed printing hello world
.
seq 1 10000 | awk '{print}'
should output the same as seq 1 10000
.
Since print is not parallelizable, shouldn't we restrict its use inside the action statement ?
This is the trivial implementation. The more sophisticated one involves storing its output and serializing it at the end of the program's operation.
I have implemented the trivial solution so far.
They should be either prohibited, or, better, their outpout should be stored in memory or in temporary files and then serialized.