[Swift-devel] Filesys mapper with multiple patterns?

Michael Wilde wilde at mcs.anl.gov
Tue Oct 8 16:06:35 CDT 2013


Perhaps do:

  file f[] <simple_mapper; file=readData(sh("ls -1 dir1/*.txt dir2/*"))>;

...or something similar?

- Mike

----- Original Message -----
> From: "David Kelly" <davidk at ci.uchicago.edu>
> To: "Swift Devel" <swift-devel at ci.uchicago.edu>
> Sent: Tuesday, October 8, 2013 3:59:13 PM
> Subject: [Swift-devel] Filesys mapper with multiple patterns?
> 
> 
> 
> 
> 
> Is it possible to use a filesys mapper with multiple patterns? I
> would like "dir1/*.txt" and "dir2/*" to go in the same
> (one-dimensional) file array. I can do this with an ext mapper, just
> wondering if there is a better way.
> 
> 
> Thanks,
> David
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
> 



More information about the Swift-devel mailing list