This is the mail archive of the
mailing list for the eCos project.
Re: #! magic for finding Cygwin Tcl shell
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Jonathan Larmour <jifl at eCosCentric dot com>
- Cc: ecos-devel at ecos dot sourceware dot org
- Date: Tue, 06 Jan 2009 19:13:16 +0000
- Subject: Re: #! magic for finding Cygwin Tcl shell
- References: <49639C9C.email@example.com> <4963A830.6090600@eCosCentric.com>
Jonathan Larmour 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.
>> Any objections?
> Yes, it may not be in /usr/bin. I don't mind the cygwin-specific cygpath
> bits being dropped, but I'd still want it to be found from the PATH by some
Have you ever encountered a Linux system where tclsh is not accessible
at /usr/bin/tclsh? Or were you thinking of portability to other
I note your (old) post to the Cygwin list which implies that
/usr/bin/tclsh is usual for UNIX-like operating systems: