[Swift-commit] r7550 - SwiftApps/swift-galaxy/swift

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Mon Feb 3 12:54:30 CST 2014


Author: ketan
Date: 2014-02-03 12:54:30 -0600 (Mon, 03 Feb 2014)
New Revision: 7550

Modified:
   SwiftApps/swift-galaxy/swift/swiftforeachrange.xml
Log:
update doc

Modified: SwiftApps/swift-galaxy/swift/swiftforeachrange.xml
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeachrange.xml	2014-02-03 18:40:28 UTC (rev 7549)
+++ SwiftApps/swift-galaxy/swift/swiftforeachrange.xml	2014-02-03 18:54:30 UTC (rev 7550)
@@ -74,7 +74,7 @@
 <help>
 .. class:: warningmark
 
-**TIP**. A generic Swift foreach to run arbitrary executables in parallel over a range of numbers.
+**TIP**. Add args to provide additional arguments to your executable. 
 
 -----
 
@@ -82,19 +82,23 @@
 
 This is a generic Swift tool that runs an executable over a range of numbers with arbitrary stepsize. 
 
+Execution location allows user to declare where to run the tool. Executable can be any arbitrary executable of type "binexec" uploaded by user.
+
+Start, end and stepsize are integer values. Note that the stepsize cannot be less than 1. Optionally, sser can add new arguments to be provided to the tool executable after the numeric argument. Each args box must contain exactly one argument without spaces.
+
 -----
 
 **Example**
 
-Pick up an executable from the Executable list. Enter the start, end and the step size values.
+Pick up an executable from the Executable list. Enter the start, end and the step size values. Enter an additional argument "hello". 
 
-If an executable is echo.sh:
+If an executable is echo.sh with following line:
 
-echo $1
+echo $@
 
 The start, end and step is 0, 9 and 2, the executable will be invoked in parallel 5 times for n where n is 0 2 4 6 8:
 
-echo n
+echo n hello
 
 </help>
 </tool>




More information about the Swift-commit mailing list