Unless you are using both gawk and mawk and perhaps some other unix awks, I
would suggest you pick one and stick with it. I prefer mawk and some others
really like gawk...That is besides the point though.
Go to your /bin directory and find your awk programs (awk, gawk, mawk) and
pick one if you have more than one. Then type the following (substitute g for
m if needed):
ln -s mawk awk
obviously if you program is unix awk, you don't need to do this
this will create the awk symlink and so no matter who's script you use, it
should be compatible and call awk. Most people who are awk savvy use "awk" as
the call to their awk program, and you should get in that habit too.
#!/bin/awk
Scot Mc Pherson
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:57:24 EDT