Hi
I wish to create my little collection of [tt]awk[/tt] 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 [tt]awk[/tt], [tt]gawk[/tt] or [tt]mawk[/tt] :
[ul]
[li][tt]extension()[/tt] function loads only from object files[/li]
[li]specifying additional [tt]-f[/tt] in the shebang does not work because arguments will be treatead as one[/li]
[li][tt]igawk[/tt] can not be used in a shebang, because itself too is runed through a shebang[/li]
[/ul]
I tried the aboves with [tt]bash[/tt] and [tt]tcsh[/tt].
Any idea ?
Thanks,
Feherke.
I wish to create my little collection of [tt]awk[/tt] 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 [tt]awk[/tt], [tt]gawk[/tt] or [tt]mawk[/tt] :
[ul]
[li][tt]extension()[/tt] function loads only from object files[/li]
[li]specifying additional [tt]-f[/tt] in the shebang does not work because arguments will be treatead as one[/li]
[li][tt]igawk[/tt] can not be used in a shebang, because itself too is runed through a shebang[/li]
[/ul]
I tried the aboves with [tt]bash[/tt] and [tt]tcsh[/tt].
Any idea ?
Thanks,
Feherke.