2 ms·
I mean, the point actually raised in the article is about making the code agnostic to where that data lives. Leveraging plain ol' Unix pipes is pretty hard to
by yellowapple 8y ago
I mean, the point actually raised in the article is about making the code agnostic to where that data lives. Leveraging plain ol' Unix pipes is pretty hard to beat in that regard. The article doesn't really provide much of an alternative to the actual sharing of the data itself beyond just sticking it in Dropbox.
And of course, an stdio-based approach works perfectly fine for Dropbox:
$ cd ~/Dropbox/csv/data/folder && process-csv <in.csv >out.csv
Or for S3:
$ s3fs my-bucket ~/mnt/my-bucket # macOS has FUSE support, right?
$ cd ~/mnt/my-bucket/csv/data/folder
$ process-csv <in.csv >out.csv
Or for pretty much any other filesharing service that provides a folder on the filesystem, really.