Command output cleanup