Index: library/xotcl/xotclsh.in =================================================================== diff -u -ra54313f558be3d0e7c909fa76cdee874f1880ef3 -rb111807bd1e55f1975df2fc34bfef692989d61a3 --- library/xotcl/xotclsh.in (.../xotclsh.in) (revision a54313f558be3d0e7c909fa76cdee874f1880ef3) +++ library/xotcl/xotclsh.in (.../xotclsh.in) (revision b111807bd1e55f1975df2fc34bfef692989d61a3) @@ -1,6 +1,7 @@ -#!@NSF_COMPATIBLE_TCLSH@ -#!/usr/bin/env tclsh -puts @NSF_COMPATIBLE_TCLSH@ +#! /usr/bin/env tclsh +#! @NSF_COMPATIBLE_TCLSH@ +# -*- tcl -*- +puts [info nameofexecutable] # # Tiny scripted replacement of a binary nxsh. This script can be used # as interactive shell for testing or like a regular shell with the !#