remove the newline that 'cat' is appending