Revert new line at the end of each printf