I have a file that contains many li˜es. Here is an example:
evaluate eaprod 7844 2 15688 0 2
...
opncon auditrec 8842 1 8842 0 1
I need to loop through and find the first word in each line and count the number of lines that contain this word in the first position. Example using the above list:
Evaluate 17
Agncyis 1
Opncon 4
I need to do this for each unique word in the first positon.
Where's your code that's not working, and what error (if any), are you getting?
--
pDale Campbell
Desperation = A Rope Ends It
_______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs