Files
SwiftShell/SwiftShellTests/Scripts/stream_out.swift
T
Kare Morstol 977888c03b Rename "write" functions to "writeTo".
Because it makes more sense.
2014-10-25 19:17:07 +02:00

7 lines
120 B
Swift
Executable File

#!/usr/bin/env swiftshell
import SwiftShell
run("echo this is streamed") |> run("wc -w") |> writeTo(standardoutput)