|
From: <ai...@us...> - 2013-11-18 21:57:41
|
Revision: 12716
http://sourceforge.net/p/plplot/code/12716
Author: airwin
Date: 2013-11-18 21:57:39 +0000 (Mon, 18 Nov 2013)
Log Message:
-----------
Move to recommended "exec" method for running this script.
Modified Paths:
--------------
trunk/examples/tcl/standard_examples.in
Modified: trunk/examples/tcl/standard_examples.in
===================================================================
--- trunk/examples/tcl/standard_examples.in 2013-11-18 21:56:40 UTC (rev 12715)
+++ trunk/examples/tcl/standard_examples.in 2013-11-18 21:57:39 UTC (rev 12716)
@@ -1,10 +1,9 @@
#!@SH_EXECUTABLE@
# Examples 14 and 31 left out - see Tk standard_examples.in
-# Note the backslash at the end - this causes Tcl to ignore
-# the next line. It becomes a valid Tcl script as well as
-# valid shell script
-# \
-@pltcl_LOCATION@ $* <<EOF
+# Note the backslash at the end of the comments - this causes Tcl to
+# ignore the next line. It becomes a valid Tcl script as well as valid
+# shell script \
+exec @pltcl_LOCATION@ "$0" "$@"
source tcldemos.tcl
plinit
0
@@ -40,4 +39,3 @@
30
33
exit
-EOF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|