delete newline from shell output