Don't ask to ask, just ask | |
PerlMonks |
Re^3: Find duplicate lines from the file and write it into new file.by monkey_boy (Priest) |
on Jan 04, 2007 at 13:34 UTC ( [id://592943]=note: print w/replies, xml ) | Need Help?? |
but then you would lose the duplicates, i think the OP wanted to find the duplicates, perhaps somthing along the lines of
sort | uniq -c , then they could read the file and look at the counts
This is not a Signature...
In Section
Seekers of Perl Wisdom
|
|