How to use multiple arguments for awk with a shebang (i.e. #!)?
问题 I\'d like to execute an gawk script with --re-interval using a shebang. The \"naive\" approach of #!/usr/bin/gawk --re-interval -f ... awk script goes here does not work, since gawk is called with the first argument \"--re-interval -f\" (not splitted around the whitespace), which it does not understand. Is there a workaround for that? Of course you can either not call gawk directly but wrap it into a shell script that splits the first argument, or make a shell script that then calls gawk and