I have a last hurdle to solve, but my pattern matching isn't yet up to the task. I have a report and I want to strip out lines with 0 at the end of them... eg.. strip the first line, but leave the second in the output.
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 22
Tried various sed combinations and failed.
Aucun commentaire:
Enregistrer un commentaire