Hello,
I've got this problem: Whenever two or more lines matching "@@@@@" occur consecutively, I would like to remove all but the last one. Example file:
Desired outcome:Code:@@@@@ One Another line @@@@@ One @@@@@ Two @@@@@ Three @@@@@ Four Yet another line
I'd like to solve this in sed. Thanks very much in advance for any suggestion!Code:@@@@@ One Another line @@@@@ Four Yet another line
Bookmarks