Author: coke
Date: Fri Oct 28 18:26:39 2005
New Revision: 9621

Modified:
   trunk/languages/tcl/README
Log:
Clarifications on the -e option.



Modified: trunk/languages/tcl/README
==============================================================================
--- trunk/languages/tcl/README  (original)
+++ trunk/languages/tcl/README  Fri Oct 28 18:26:39 2005
@@ -2,10 +2,10 @@
 
 A from scratch implementation of Tcl on Parrot.
 
-To build the tcl interpreter, first build parrot.  From the top level
-parrot directory:
+To build the tcl interpreter, first build parrot and the parrot utilities.
+From the top level parrot directory:
 
- perl Configure.pl && make
+ perl Configure.pl && make world
 
 Then, type C<make> in this directory. This will
 generate the file C<tcl.pbc> which can then be used to run tcl programs.
@@ -31,9 +31,13 @@ partcl supports two command line options
 Analagous to perl's C<-e> switch, this option will let you specify tcl
 code in the command line, which will then be executed. e.g:
 
- $ ../../parrot tcl.pbc -e="puts {Hello World}"
+ $ ../../parrot tcl.pbc -e='puts {Hello World}'
  Hello World
 
+You will need to properly quote the tcl to protect it from your shell, and
+you must specify the C<=>.  (Because parrot's getopt implementation requires
+it.)
+
 =item --pir
 
 Given this option, partcl will compile the tcl code to PIR, and output

Reply via email to