[clug] Quick text-search question...

Brett Worth brettw at cray.com
Tue Nov 18 15:10:38 EST 2003


On Tue, 18 Nov 2003, Ian Perry wrote:

> This shouldn't be too hard for most of you, but it's causing me a bit of
> trouble; what I need to do is find only the instances of matching lines
> in a whole bunch of text. It's already sorted, so the matches are
> consecutive - if that helps.

And now that I read your question properly:  uniq --repeated


Brett

  /) _ _ _/_/ / / /  _ _//
 /_)/</= / / (_(_/()/< ///

 Cray Australia.
 brettw at cray.com +61 2 6295 4023

PGP: 1024R/27EB604F  22A9 A85A 22BD 496B 2443
                     35E5 46F7 0712 27EB 604F



More information about the linux mailing list