[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing duplicate text



On Sun, 24 May 2009 12:54:42 -0400
Tony Baldwin <photodharma@gmail.com> wrote:

> Wilfred Zegwaard wrote:
> > Dear users,
> > 
> > I've got a textfile with a lot of duplicate text. How do I remove
> > it? I'm using Emacs 21.
> > 
> > Wilfred
> > 
> > 
> 
> That seems like a very general question, and one which has a broad 
> plethora of answers.

Exactly; here is a simple one:
uniq -u infile outfile

> I mean, you could do this in many editors, or if you want
> specifically to use Emacs, I'm sure it can be done, but I don't
> know...or, I think you could even use stuff like sed.  I use tickle
> text for stuff like that, myself.
> It's not really a Debian specific question, though, so I wonder if
> your question would be more approriate on an Emacs list, or something.
> 
> bon courage,
> /tony


-- 
Nyizsa.
http://nyizsa.uni.cc


Reply to: