It seems like I am getting the way the new implementation works and find a small nuance that could be made more elegant: awk by default reads the code as the next argument - so the here document and -f - are actually just added without providing any feature -> you could probably replace them with single quotes.