tcl-wrapper & shc
alexander.gromnitsky at gmail.com
alexander.gromnitsky at gmail.com
Sun Nov 2 18:42:24 UTC 2014
Sun Nov 02 2014 19:25:48 +0100, Pietro Cerutti wrote:
> On 2014-Nov-02, 19:55, alexander.gromnitsky at gmail.com wrote:
>> Sun Nov 02 2014 18:44:08 +0100, Pietro Cerutti wrote:
> >> Does any of the following work?
>>
> >> $ tclsh foo
>>
>> It does.
> You mean, the compiled version (before you changed the Makefile) works
> too?
Yes, the orig version installed via pkg.
> I guess something's weird with using /usr/bin/env,
No, /usr/bin/env is fine.
$ cat foo2
#!/bin/sh
# the next line restarts using tclsh \
exec tclsh "$0" ${1+"$@"}
puts "Hello, World!"
$ ./foo2
%
The same strange result. If I change 'exec tclsh' to 'exec tclsh8.6',
the script works as expected.
More information about the freebsd-tcltk
mailing list