opening in a textmate project all files that match a pattern
This will pass all matched filenames to textmate, generating a project with all files flatly in the drawer (no dirs)
egrep -lr pattern * | grep -v .svn | xargs mate