GNU bug report logs - #5587
should have sort --unique function

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 16 Feb 2010 23:44:02 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: 5587 <at> debbugs.gnu.org
Subject: bug#5587: should have sort --unique function
Date: Tue, 01 Oct 2019 17:39:17 +0200
jidanni <at> 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




This bug report was last modified 5 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.