From 1b05e7e8c78a2ddf831f0a35b90114a44bda6fff Mon Sep 17 00:00:00 2001
From: nijtmans <nijtmans>
Date: Wed, 25 Mar 2009 23:22:36 +0000
Subject: bring doc and tools in line with http://wiki.tcl.tk/812

---
 ChangeLog                | 7 +++++++
 doc/tclsh.1              | 4 ++--
 tools/installData.tcl    | 4 ++--
 tools/str2c              | 4 ++--
 tools/tcltk-man2html.tcl | 2 +-
 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
 
-- 
cgit v0.12