I find ack slow and overcomplicated (in implementation at least). As an alternative consider:

http://www.pixelbeat.org/scripts/findrepo