I wish to create my little collection of awk functions and use them in complex scripts. And to run the complex script as an executable, not specified as an argument.
Sadly, after a lot of googling and man reading I not found any solution for awk, gawk or mawk :
- extension() function loads only from object files
- specifying additional -f in the shebang does not work because arguments will be treatead as one
- igawk can not be used in a shebang, because itself too is runed through a shebang
Any idea ?