From: Lizardo H. C. M. N. <li...@ur...> - 2002-04-08 13:22:13
|
On Monday, April 8, 2002, at 03:27 AM, Daniel A. Steffen wrote: > At 3:00 -0300 on 8/4/02, Lizardo H. C. M. Nunes wrote: > >> On "Terminal.app" I tried >> $ alias wish /Applications/Wish\ Shell.app/Contents/MacOS/Wish\ Shell >> So, >> $ wish >> and I got >> "/Applications/Wish: Command not found." >> > > you probably wanted: > alias wish '/Applications/Wish\ Shell.app/Contents/MacOS/Wish\ Shell' It worked. (Stupid mistake of mine) >> What I really want to know is how to make "bash" recognize the >> "#!/usr/local/bin/wish" line. > > create a symolic link: > sudo ln -s /Applications/Wish\ Shell.app/Contents/MacOS/Wish\ > Shell /usr/local/bin/wish > I did $ sudo ln -s /Applications/Wish\ Shell.app/Contents/MacOS/Wish\ Shell /usr/bin/wish I'm trying to run a simple "button.tcl" script: ----------------------- #! /usr/bin/wish -f button .b -text "Press Me" -command exit pack .b ---------------------- When I type $ ./button.tcl nothing happens. Why? Thanks mate, Lizardo H. C. M. Nunes |