Index: nxsh.in =================================================================== diff -u -N --- nxsh.in (revision 89f7f5d879f2881445c70e1c5b4be391cabaf6a0) +++ nxsh.in (revision 0) @@ -1,23 +0,0 @@ -#! /bin/sh -# Lookup a Tcl interpreter \ - INTERP="tclsh@TCL_VERSION@"; \ - INTERPS="@NSF_COMPATIBLE_TCLSH@ @TCL_EXEC_PREFIX@/bin/$INTERP"; \ - for interp in $INTERPS; \ - do if [ -x $interp ]; then INTERP=$interp; break; \ - fi; done; \ - exec $INTERP "$0" ${1+"$@"} - -# -*- tcl -*- -# -# Tiny scripted replacement of a binary nxsh. This script can be used -# as interactive shell for testing or like a regular shell with the #! -# markup in the first line of a script. It is designed to work with -# multiple installed Tcl shells during development. -# -package require nx::shell 1.1 - -namespace import -force ::nx::* - -set exitCode [nx::shell run $argc $argv] -exit $exitCode -