[Swift-commit] r3506 - trunk/tests

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Aug 10 13:28:21 CDT 2010


Author: wozniak
Date: 2010-08-10 13:28:21 -0500 (Tue, 10 Aug 2010)
New Revision: 3506

Removed:
   trunk/tests/file_counter.swift
Log:
This script is not simple enough for the top level


Deleted: trunk/tests/file_counter.swift
===================================================================
--- trunk/tests/file_counter.swift	2010-08-10 18:21:12 UTC (rev 3505)
+++ trunk/tests/file_counter.swift	2010-08-10 18:28:21 UTC (rev 3506)
@@ -1,20 +0,0 @@
-// a two-step workflow that essentially does 
-// ls "*.txt" | wc
-
-type file {}
-
-(file f) ls (string s) {
-    app {
-        ls s stdout=@filename(f);
-    }
-}
-
-(file c) wc (file f) {
-    app {
-        wc stdin=@filename(f) stdout=@filename(c);
-    }
-}
-
-file list, count;
-list = ls("/");
-count = wc(list);




More information about the Swift-commit mailing list