I've been working on a cool new feature for our Magento Hosting (which we'll keep the wraps on for a couple more days), that required me to subscribe to a couple of Events through a Model Observer.
This is as much for my own memory as for anyone trying to find a list of Events:
# change directories to your document root, then
grep -r 'Mage::dispatchEvent(' . | \
sed -e 's/.*Mage::dispatchEvent(//; s/,.*//; s/).*//;' | \
sed -e "s/'//g;" | \
grep -v '[^a-z_]' | \
grep -vE '^$' | \
sort | \
uniq -c















