4 ms·
Feel free to correct me as I am too lazy to test this, but I do not think that is the most fair comparison. I would do ack -i mbr > /dev/null I think that s
by Someone 14y ago
Feel free to correct me as I am too lazy to test this, but I do not think that is the most fair comparison. I would do
ack -i mbr > /dev/null
I think that starts up perl once, not once per file. If so timing should be much better.
ack searches recursively by default; I don't think it can search non-recursively (why would you want to? That is what grep is for)
Also: try comparing grep and ack in a directory tree that has 'garbage' such as .svn or .git directories or .o files.