Please consider this tiny fix to execute awk program with no input. Example with gawk: gawk --posix 'BEGIN {print 42}' I also added some tests for ob-awk.