Clean mac output trailing newline for passing via stdin