in reply to Summing repeated counts for items stored in separate file

Another option would be to store all your data in a real database and use standard SQL-queries to get your info. For a once off job that would be overkill, but if the data gets updated regularly, it would be less work on the whole.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: Summing repeated counts for items stored in separate file