Removing metainfo/debug header lines from output