Delete n1 previous lines and n2 lines following with respect to a line containing a pattern Delete n1 previous lines and n2 lines following with respect to a line containing a pattern bash bash