get some information from a text string

deleted

Perhaps you could just save the last report, and if the new report is different, mail it and make it the last report.

 
if [ "$(cmp file1 file2 2>&1)" != "" ]

It is a lot easier than parsing the report and extracting a status from the position of each line.

1 Like

But what i need is the disk bay and the failure information

deleted