Hi,
I want to delete a line containing a pattern and 2 lines after that pattern as well .
Ex :
The pattern should match unassigned and delete the line containing unassigned next 2 lines after it . Please help me with this .
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