I have a nawk script file which I run from the command prompt like
$ nawk -f scriptname.aw datafilename.dat
Can I embed the contents of the scriptname.aw file within a shell script.
So I have a shell script which does all kind sof things
..........
........
.........
Here can I copy the contents of scriptname.aw file
...........
In that case where does the command nawk come and where do I say the datafilename.dat
TIA
$ nawk -f scriptname.aw datafilename.dat
Can I embed the contents of the scriptname.aw file within a shell script.
So I have a shell script which does all kind sof things
..........
........
.........
Here can I copy the contents of scriptname.aw file
...........
In that case where does the command nawk come and where do I say the datafilename.dat
TIA