in reply to Re^2: Find duplicate lines from the file and write it into new file.
in thread Find duplicate lines from the file and write it into new file.
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...
This is not a Signature...
In Section
Seekers of Perl Wisdom