in reply to print out duplicate records

'scuse if I got this wrong--I have used a *nix system for several years--but wouldn't this work for you(on a *nix system)?

uniq -cd sorted_cdr >duplicates uniq -u sorted_cdr >unique_cdr

Of course, a perl solution will be more portable if that's a req.

Replies are listed 'Best First'.
Re: Re: print out duplicate records
by Anonymous Monk on Aug 02, 2002 at 19:54 UTC
    sorry BrowserUK, I should have mentioned it was not a *nix system.