From 2f76425abdae9641fc60ff35487af30e01ededaf Mon Sep 17 00:00:00 2001 From: Kare Morstol Date: Fri, 5 Dec 2014 18:40:04 +0100 Subject: [PATCH] Replace the one remaining call to "writeTo". --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4bafede..ebab050 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ or ```swift var i = 1 -standardinput.lines() |> map {line in "line \(i++): \(line)\n"} |> writeTo(standardoutput) +standardinput.lines() |> map {line in "line \(i++): \(line)\n"} |>> standardoutput ``` Launch with e.g. `ls | print_linenumbers.swift`