* bug#5587: should have sort --unique function
@ 2010-02-16 23:42 jidanni
2019-10-01 15:39 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2010-02-16 23:42 UTC (permalink / raw)
To: 5587
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...
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#5587: should have sort --unique function
2010-02-16 23:42 bug#5587: should have sort --unique function jidanni
@ 2019-10-01 15:39 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-01 15:39 UTC (permalink / raw)
To: jidanni; +Cc: 5587
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-01 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 23:42 bug#5587: should have sort --unique function jidanni
2019-10-01 15:39 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.