Globally, where a line matches the given regexp, delete it:
g/^ CONNECT/d

Linux tips home Linux home bavister.org home