Added option to disable output buffering to "cat", added option to put a '$' at the end of each line.