find ./directory -type f -exec egrep -l " +$" {} \;