Assuming the pattern /^-$/ matches lines 1,7,13,19 and so on, you can use g with relative line numbers to delete lines.
For File A, copy and use :g/^-$/d2|+,+3d for File B, copy and use :g/^-$/d3|+,+2d for File C, copy and use :g/^-$/d4|+d for File D, copy and :g/^-$/d5 Regards, John -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
