Subject: Re: bug#13032: 24.3.50; Request: Provide a `delete-duplicate-lines' command

From: Juri Linkov <[email-masked]>
Date: Fri, 30 Nov 2012 02:31:21 +0200

> That is: provide a function `delete-duplicate-lines' (or some such)
> that removes all duplicate lines in the active region and prints in
> the echo area a message like "Duplicate lines removed: <n>".

This is what I currently use to delete duplicate lines:

  C-u M-| awk -- '!a[$0]++' RET

Do you intend to create a Lisp function with the same result?