Project: Reorder Columns
Write a program that reorders tab-delimited input provided on stdin. It should take commandline arguments that specify the columns to print. The order of the arguments determine the order that the columns are printed. The columns are numbered from one to the number of columns in the data.
Output
$ swiftc ReorderColumns.swift -I . -L . -lUtils
ReorderColumns.swift:11:29: error: value of type 'String' has no member 'splitRegex'
let fields:[String] = line.splitRegex(NSRegularExpression(##"\t"##))
~~~~ ^~~~~~~~~~
ReorderColumns.swift:11:60: error: missing argument label 'coder:' in call
let fields:[String] = line.splitRegex(NSRegularExpression(##"\t"##))
^
coder:
ReorderColumns.swift:11:60: error: cannot convert value of type 'String' to expected argument type 'NSCoder'
let fields:[String] = line.splitRegex(NSRegularExpression(##"\t"##))
^