Project: Head and Tail
Write a filter program that prints the first and last few lines from an input stream. The single command line parameter will specify the number of lines from the head and tail to print. The program should print a line "..." between the first lines and the last lines.
Output
$ swiftc HeadAndTail.swift -I . -L . -lUtils
error: link command failed with exit code 1 (use -v to see invocation)
ld: library not found for -lUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$ swiftc HeadAndTail.swift -I . -L . -lUtils
error: link command failed with exit code 1 (use -v to see invocation)
ld: library not found for -lUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)