summaryrefslogtreecommitdiffstats
path: root/doc/tclsh.1
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 /doc/tclsh.1
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
Diffstat (limited to 'doc/tclsh.1')
-rw-r--r--doc/tclsh.14
1 files changed, 2 insertions, 2 deletions
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