[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing duplicated lines
From: |
naisanza |
Subject: |
Re: Removing duplicated lines |
Date: |
Wed, 3 Jul 2013 05:13:43 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Thursday, November 29, 2012 6:57:45 AM UTC-5, Yuri Khan wrote:
> On Thu, Nov 29, 2012 at 6:25 PM, Dani Moncayo <> wrote:
>
> >> Shell command on a region: `M-| uniq RET'
>
> >
>
> > Thanks, but this is not exactly what I'd like, because:
>
> > * It depends on a shell command, which might not be available
>
> > (specially under MS-Windows).
>
>
>
> True. But if you have Emacs on Windows, you can (should?) also have
>
> UnxUtils or GnuWin32 or Cygwin or msys.
>
>
>
> > * It shows the compacted region in the echo area (and therefore also
>
> > in the *Messages* buffer), but I'd like the command to modify the
>
> > region in-place (and show some message in the echo area like "nn
>
> > duplicated lines removed").
>
>
>
> To modify in-place, prefix with C-u.
awesome.
- Re: Removing duplicated lines,
naisanza <=