The single worst user experience issue with windows for me is the way windows search just doesnae.
It can sit there indexing the crap out of my hard drive but if it’s can’t find PHP source files that contain “cookie” then it’s no f-ing use to me.
To the rescue rides grep and cygwin (again)

grep -rl 'cookie'. --include "*.php"

Recursively search and return the path of, files ending in .php that contain the string ‘cookie’

grep <switches> <string to search> <path>

*-nix to the rescue again.

Leave a Reply