From: Chris McMahan <first_initiallastname@one.dot.net>
Subject: Re: delete double lines
Date: Fri, 11 Aug 2006 09:34:25 -0400 [thread overview]
Message-ID: <u4pwjjt0e.fsf@HY56D61.pg.com> (raw)
In-Reply-To: u8xlvjt6l.fsf@HY56D61.pg.com
Oops! sort-lines doesn't uniquify...
Cygwin has a sort function that handles the -u switch, but it means
installing the entire cygwin environment.
- Chris
Chris McMahan <first_initiallastname@one.dot.net> writes:
> 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 <Peter_Dyballa@Web.DE> writes:
>
>> Am 11.08.2006 um 12:41 schrieb <C.Strobl@dlr.de>:
>>
>>> 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
=================================================
next prev parent reply other threads:[~2006-08-11 13:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-11 10:41 delete double lines C.Strobl
2006-08-11 10:56 ` Peter Dyballa
2006-08-11 11:04 ` AW: " C.Strobl
2006-08-11 12:59 ` Eli Zaretskii
[not found] ` <mailman.5076.1155293829.9609.help-gnu-emacs@gnu.org>
2006-08-11 13:30 ` Chris McMahan
2006-08-11 13:34 ` Chris McMahan [this message]
[not found] <mailman.5075.1155292906.9609.help-gnu-emacs@gnu.org>
2006-08-11 15:05 ` Pascal Bourguignon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u4pwjjt0e.fsf@HY56D61.pg.com \
--to=first_initiallastname@one.dot.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.