Hi,
Thanks, for getting back to me . This are the lines that I wanted to delete .
This is what I have tried after opening the File descriptor from my command output .
next if $row =~ /^unassigned\n\nOK$/;
Below are the lines to be deleted
<
unassigned
physicaldrive 7C:3:7 port 7C:box 3:bay 7 SAS 1 TB OK
physicaldrive 7C:3:8 port 7C:box 3:bay 8 SAS 1 TB OK
>