Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
schveiguy committed Nov 20, 2018
2 parents fc33fb2 + 34f9f10 commit 8231356
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ import iopipe.textpipe;
import iopipe.zip;
import iopipe.bufpipe;
import std.io;
import std.typecons;
// open a zipfile, decompress it, detect the text encoding inside, and process
// lines that contain "foo"
void main(string[] args)
{
File(args[1]) // open a file
.refCounted // File can't be copied
.bufd // buffer it
.unzip // decompress it
.runEncoded!((input) { // detect the text encoding and process it.
Expand Down

0 comments on commit 8231356

Please sign in to comment.