in reply to Comparing each line of a file to itself

I'd say you loop over the lines and count in a hash.

Please show us some sample data and what you tried.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re: Comparing each line of a file to itself