Re: [exim] Need a little bash scripting help [OT]

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
New-Topics: Re: [exim] [OT] Need a little bash scripting help
Subject: Re: [exim] Need a little bash scripting help [OT]
Marc Perkel <marc@???> (So 12 Dez 2010 20:16:36 CET):
> Thanks in advance for answering my off topic question.
>
> Looking for a simple way to use sort | uniq in a way that returns only
> those lines that are duplicate more and say 3 times. A file like:


uniq(1) understands "-c", at least the uniq I use (GNU coreutils 8.5).
The rest should be simple, you'll get each line prefixed with a count.

--
Heiko :: dresden : linux : SCHLITTERMAN.de
GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B