Fix new line character at the end of -c if -t not present