I have written an awk file and made it executable, but do not want to call my awk file in the following manner
awk -f tool.awk FILE
I just want to call it using
tool FILE
I made tool.awk
executable and included
#! /bin/awk -f
Followed by a link named tool
to tool.awk
.
I could then call tool FILE
I suppose I can also call tool FILE
in a bash script as well. Right?