Tidy up whitespace of command output