summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-03-25 23:22:36 (GMT)
committernijtmans <nijtmans>2009-03-25 23:22:36 (GMT)
commit1b05e7e8c78a2ddf831f0a35b90114a44bda6fff (patch)
tree3ef051547181f8c9a1fe1e5537d493b0946e99f6
parent9af3b5f8c9624875b3824b588948e889708ce322 (diff)
downloadtcl-1b05e7e8c78a2ddf831f0a35b90114a44bda6fff.zip
tcl-1b05e7e8c78a2ddf831f0a35b90114a44bda6fff.tar.gz
tcl-1b05e7e8c78a2ddf831f0a35b90114a44bda6fff.tar.bz2
bring doc and tools in line with http://wiki.tcl.tk/812
-rw-r--r--ChangeLog7
-rw-r--r--doc/tclsh.14
-rw-r--r--tools/installData.tcl4
-rw-r--r--tools/str2c4
-rwxr-xr-xtools/tcltk-man2html.tcl2
5 files changed, 14 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 81b5966..4b704e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-03-09 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * doc/tclsh.1 bring doc and tools in line with http://wiki.tcl.tk/812
+ * tools/installData.tcl
+ * tools/str2c
+ * tools/tcltk-man2html.tcl
+
2009-03-25 Donal K. Fellows <dkf@users.sf.net>
* doc/coroutine.n: [Bug 2152285]: Added basic documentation for the
diff --git a/doc/tclsh.1 b/doc/tclsh.1
index db07346..8e2163a 100644
--- a/doc/tclsh.1
+++ b/doc/tclsh.1
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: tclsh.1,v 1.16 2008/10/17 10:22:25 dkf Exp $
+'\" RCS: @(#) $Id: tclsh.1,v 1.17 2009/03/25 23:22:42 nijtmans Exp $
'\"
.so man.macros
.TH tclsh 1 "" Tcl "Tcl Applications"
@@ -75,7 +75,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
.PP
This approach has three advantages over the approach in the previous
diff --git a/tools/installData.tcl b/tools/installData.tcl
index cf067a3..5bf0ad1 100644
--- a/tools/installData.tcl
+++ b/tools/installData.tcl
@@ -1,6 +1,6 @@
#!/bin/sh
#\
- exec tclsh "$0" ${1+"$@"}
+exec tclsh "$0" ${1+"$@"}
#----------------------------------------------------------------------
#
@@ -16,7 +16,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: installData.tcl,v 1.1 2004/08/18 19:59:09 kennykb Exp $
+# RCS: @(#) $Id: installData.tcl,v 1.2 2009/03/25 23:22:38 nijtmans Exp $
#
#----------------------------------------------------------------------
diff --git a/tools/str2c b/tools/str2c
index 15cb8e6..c151c0f 100644
--- a/tools/str2c
+++ b/tools/str2c
@@ -4,10 +4,10 @@
#
# 1997/10 -- dl
#
-# $Id: str2c,v 1.2 1999/04/16 00:47:40 stanton Exp $
+# $Id: str2c,v 1.3 2009/03/25 23:22:37 nijtmans Exp $
#
# 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 4379f22..0cb3ac7 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.5