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

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Tue Mar 11 14:27:36 CDT 2014


Author: ketan
Date: 2014-03-11 14:27:36 -0500 (Tue, 11 Mar 2014)
New Revision: 7694

Modified:
   SwiftApps/swift-galaxy/README
Log:
readme for swift galaxy

Modified: SwiftApps/swift-galaxy/README
===================================================================
--- SwiftApps/swift-galaxy/README	2014-03-11 19:22:25 UTC (rev 7693)
+++ SwiftApps/swift-galaxy/README	2014-03-11 19:27:36 UTC (rev 7694)
@@ -85,13 +85,14 @@
 Description of the Swift-Galaxy `foreach` tool 
 -----------------------------------------------
 
-There are two versions of foreach Swift tools in this implementation. The
-"numrangeforeach" tool is used to run a Swift foreach loop over a range of
-numbers for an arbitrary executable. The executable will run with the numbers
-as commandline arguments. User can add arbitrary string arguments in addition
-to the number argument to the call to executable.
+There are two ways, the foreach Swift tool can be utilized. First, over a range
+of numbers. The tool is used to run a Swift foreach loop over a range of
+numbers for any arbitrary executable. The executable will run with number in
+range as commandline argument, one at a time. User can add arbitrary string
+arguments in addition to the number argument to the call to executable.
 
-The second version is the "listforeach". It runs similar to the above described
-numrangeforeach except that the iteration takes place over a list of items
-provided as a file. Each item in the list is delivered to the selected
-executable as a first commandline argument.  
+The second version runs the foreach loop over a list of items. These items can
+be file references or simple strings. The tool will pass one item at a time to
+the executable as argument parameter and run them all in parallel. This is
+similar to the above described number range except that the iteration takes
+place over a list of items provided as a file.




More information about the Swift-commit mailing list