Finding matching strings in a text file and summing their numbers

This is an interesting article by Dr. Drang wherein he seems to be solving a similar issue using a bash script to handle the conversion of line endings:

http://www.leancrew.com/all-this/2012/08/markdown-reference-links-in-bbedit/

I haven’t tried it yet but thought I’d share as it seemed relevant to our discussions last night.

Hello.

Thanks for the link, unfortunately, that doesn’t bring us any closer, maybe we could have outflanked the problem by issuing a unix filter command or something, but I think, based on the information of your link, that it can’t be done any better than it is.