From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: delete double lines Date: Fri, 11 Aug 2006 09:30:42 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: <9773EFADA4FF6C43A49824D50B1539A701628962@exbe04.intra.dlr.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1155303727 12525 80.91.229.2 (11 Aug 2006 13:42:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 13:42:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 11 15:42:05 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBXGm-0008FF-5d for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 15:41:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBXGl-0003z1-Cs for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Aug 2006 09:41:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader2.panix.com 1155303084 28428 166.84.1.5 (11 Aug 2006 13:31:24 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 11 Aug 2006 13:31:24 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:rSbljzII8JW7WWeyM99Nh/YygX0= Original-Xref: shelby.stanford.edu gnu.emacs.help:140974 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36599 Archived-At: M-x sort-lines to get the same results. If you only want to sort part of the buffer, just highlight the region you want sorted and execute the same function. I use this quite frequently! - Chris Peter Dyballa writes: > Am 11.08.2006 um 12:41 schrieb : > >> is there any solution for delete double lines with emacs commands >> (or macros)? >> > > What about shell-command-on-region? And the shell command is 'sort -u'. > > -- > Mit friedvollen Grüßen > > Pete > > “Computers are good at following instructions, but not at reading > your mind.” > - D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9 -- (. .) =ooO=(_)=Ooo===================================== Chris McMahan | first_initiallastname@one.dot.net =================================================