diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/tclsh.1 | 2 | ||||
-rw-r--r-- | tools/str2c | 2 | ||||
-rwxr-xr-x | tools/tcltk-man2html.tcl | 2 |
4 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2011-11-29 Jan Nijtmans <nijtmans@users.sf.net> + + * doc/tclsh.1: Use the same shebang comment everywhere. + * tools/str2c + * tools/tcltk-man2html.tcl + 2011-11-22 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclCmdAH.c: [Bug 2935503] Windows: file mtime diff --git a/doc/tclsh.1 b/doc/tclsh.1 index 76323f1..53782a6 100644 --- a/doc/tclsh.1 +++ b/doc/tclsh.1 @@ -68,7 +68,7 @@ following three lines: .CS \fB#!/bin/sh # the next line restarts using tclsh \e -exec tclsh "$0" "$@"\fR +exec tclsh "$0" ${1+"$@"}\fR .CE This approach has three advantages over the approach in the previous paragraph. First, the location of the \fBtclsh\fR binary doesn't have diff --git a/tools/str2c b/tools/str2c index c761f91..971e552 100644 --- a/tools/str2c +++ b/tools/str2c @@ -5,7 +5,7 @@ # 1997/10 -- dl # # restart with tclsh \ -exec tclsh8.0 "$0" "$@" +exec tclsh "$0" ${1+"$@"} # Max string length # (some C compiler have a 2048 chars limits (so 2047 real chars with diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl index ae9d68f..c96362f 100755 --- a/tools/tcltk-man2html.tcl +++ b/tools/tcltk-man2html.tcl @@ -1,6 +1,6 @@ #!/bin/sh # The next line is executed by /bin/sh, but not tcl \ -exec tclsh8.4 "$0" ${1+"$@"} +exec tclsh "$0" ${1+"$@"} package require Tcl 8.4 |