From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: naisanza@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Removing duplicated lines Date: Wed, 3 Jul 2013 05:14:20 -0700 (PDT) Message-ID: <9fea1e59-60f6-41f2-a47f-9628508fc159@googlegroups.com> References: <80wqx4hdm9.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1372863321 9247 80.91.229.3 (3 Jul 2013 14:55:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 14:55:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 03 16:55:22 2013 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 1UuOSm-00016x-Lk for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Jul 2013 16:55:20 +0200 Original-Received: from localhost ([::1]:56592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuOSm-0003NQ-As for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Jul 2013 10:55:20 -0400 X-Received: by 10.224.129.196 with SMTP id p4mr2124737qas.6.1372853660622; Wed, 03 Jul 2013 05:14:20 -0700 (PDT) X-Received: by 10.49.133.201 with SMTP id pe9mr9679qeb.34.1372853660591; Wed, 03 Jul 2013 05:14:20 -0700 (PDT) Original-Path: usenet.stanford.edu!y2no222100qax.0!news-out.google.com!f7ni769qai.0!nntp.google.com!y2no222093qax.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <80wqx4hdm9.fsf@somewhere.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=151.121.153.20; posting-account=9HvJdgoAAADJvoPtTgzBejZ9ayIlPK1u Original-NNTP-Posting-Host: 151.121.153.20 User-Agent: G2/1.0 Injection-Date: Wed, 03 Jul 2013 12:14:20 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:199647 X-Mailman-Approved-At: Wed, 03 Jul 2013 10:54:40 -0400 X-BeenThere: help-gnu-emacs@gnu.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@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91914 Archived-At: On Thursday, November 29, 2012 6:06:54 AM UTC-5, Sebastien Vauban wrote: > 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 This was just what I was looking for