Bugfix trailing blank -t; Bugfix for empty lines
Added test cases for -c