frankc01
09-09-2009, 06:21 AM
I am running awk, for the first time, and i want to invoke from terminal such as:
awk -f mystuff.awk infile
I created a directory off of $HOME called clscripts (e.g. ~/clscripts) and have exported this in both PATH and AWKPATH in my .bash_profile.
When I open a new terminal window and try the above command, it complains about not finding mystuff.awk even though it is in ~/clscripts
Running OS X - Snow Leopard
Any help would be appreciated, sorry for the noop level question
Frank
awk -f mystuff.awk infile
I created a directory off of $HOME called clscripts (e.g. ~/clscripts) and have exported this in both PATH and AWKPATH in my .bash_profile.
When I open a new terminal window and try the above command, it complains about not finding mystuff.awk even though it is in ~/clscripts
Running OS X - Snow Leopard
Any help would be appreciated, sorry for the noop level question
Frank