a9dbdcf629
Wow, lots of changes in Swift 2.0! And all of them great, except for renaming println to print. What's up with that? This is just to get it to compile, we will be trying and throwing errors in no time.
9 lines
139 B
Swift
Executable File
9 lines
139 B
Swift
Executable File
#!/usr/bin/env swiftshell
|
|
|
|
import SwiftShell
|
|
|
|
for line in open("onetwothree.txt").lines() {
|
|
// Do something with each line
|
|
print(line)
|
|
}
|