bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5587: should have sort --unique function


From: Lars Ingebrigtsen
Subject: bug#5587: should have sort --unique function
Date: Tue, 01 Oct 2019 17:39:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

jidanni@jidanni.org writes:

> sort.el doesn't seem to have any sort --unique functionality.
>
> One needs to use
> C-u M-x shell-command-on-region "sort -u"
>
> Well, might as well use sort(1) for everything then...

There's `delete-duplicate-lines' that can be used to post-process the
output of `sort-lines' (etc), so I don't think sort.el needs to support
a -u thing, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]