How to start a Tcl/Tk script by simply invoking the script file itself ?
this Q is probably a bit trivial to some of you.
I added "#!/usr/local/bin/wish -f" to the first line of my script and do "chmode 775 filename" to it.
however, I am unable to invoke the file by just typing "filename" in console. I still need to do "wish filename" to start the program.
am I missing something here ?
any help would be greatly appreciated.