perl -ne 'BEGIN { our $offset=-1 } $offset=2 if /^LUN 40\s*$/; print if !$offset--;' 743702.dat