Gil Lee wrote:

> #!/usr/bin/gawk -f
> BEGIN {print "Hello World"}
>
> I chmod(ed) the file to be executable, but yet in
> Linux it does not recognize the script as a command.
> The error message says "Command not found".
> I have the same script on another unix machine and it
> works perfectly.  does anyone have a clue to what's
>

[root@anthem kevin]# chmod +x gawk
[root@anthem kevin]# ./gawk
Hello World
[root@anthem kevin]#

Seems to work fine,  try adding your current dir to your PATH

Kevin

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to