From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.help Subject: Re: Removing duplicated lines Date: Thu, 29 Nov 2012 12:06:54 +0100 Organization: Sebastien Vauban Message-ID: <80wqx4hdm9.fsf@somewhere.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354187418 29996 80.91.229.3 (29 Nov 2012 11:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2012 11:10:18 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Nov 29 12:10:30 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Te20d-0001Hg-TQ for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 12:10:24 +0100 Original-Received: from localhost ([::1]:59601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te20S-0005FF-GX for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 06:10:12 -0500 Original-Path: usenet.stanford.edu!newsfeed.news.ucla.edu!news.snarked.org!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Info: mx04.eternal-september.org; posting-host="5da807328d6a3351ee2b595083918cf6"; logging-data="21492"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX1+mj0D8E2nRb0ewRlBgv0GG" User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:k2TPqYjyqGAztqIS9y9ZyL0NHbY= sha1:j5fEVhudyxR5rI+5x92eqBSXVxQ= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.help:195610 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:87931 Archived-At: Hi Dani, Dani Moncayo wrote: > Does (vanilla) Emacs have some command for removing duplicated lines > in a given region? > > This is a command I'm missing for some time. > > I've done a quick search, but didn't found anything. > > If there isn't such command, I think I'd file a feature request. Shell command on a region: `M-| uniq RET' Best regards, Seb -- Sebastien Vauban