I've got a PHP application that is generating large amounts of warnings and notices in the log file..
I'm fixing these one at a time.
I would like to be able to fix the most frequently occurring first in order to maximize the amount of effect my changes have on the size of the log file.
How can I use grep/sed/regex etc.find out which notices are most frequent?
I can't compare the whole line since the time stamp is at the beginning, but perhaps a listing/grouping/sorting of "on line ..."?