[PLUG] tcl question

Kyle Accardi sandbox at pacifier.com
Wed May 14 08:59:02 UTC 2003


Marc wrote:
> On Tue 05/13/03  0:44, Kyle Accardi wrote:
> 
>>BTW, any pointer to what "$0" and "$@" mean in the wish invocation?  
>> Same as bash?
> 
> 
> IIRC, the $0 and $@ syntax *IS* bash; the "exec" is performed by the shell, and
> it simply calls the "wish" interpreter on the current script ($0) with the same
> arguments ($@) you used.  The backslash on the previous line means nothing to
> bash, but is understood by the TCL interpreter in wish as a line continuation,
> and thus prevents it from reinvoking itself.


Roger that, the more I thought about it, the more obvious it became.  Wish 
more things were like that.

--
Kyle Accardi






More information about the PLUG mailing list