Tarmo Kuuse wrote: > John Dallaway wrote: >> Rather than increase the complexity of the #! magic still further, I >> think it now makes sense to revert to a simple "#! /usr/bin/tclsh" >> within our Tcl scripts. However, this would break compatibility with old >> Cygwin installations providing only tclsh8*.exe or cygtclsh80.exe. > > Source distribution using automake installs stuff to "/usr/local" by > default. When a user has installed tcl from source (which probably > happens every now and then), their executable is "/usr/local/bin/tclsh". > > The "env" utility, on the other hand, is almost never installed to any > other location than "/usr/bin/env" because it comes with the base system.
I agree - this is about as fixed as possible. If 'env' were ever installed anywhere other than "/usr/bin", much would come to a halt. I [personally] think this is the best solution as it automatically honors the user's $PATH -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------