This recursively gets you file path/name, line number, the matching line and the 2 that follow it.

$ grep -HrnA 2 "TODO:" /path/to/code/root

I get a parse error when I put that in my PHP file...

That's not PHP code. It's the syntax for using a program called "grep" on the command line which would produce most of the results that Daevid was looking for.


More info on using grep can be found here: http://www.google.com/search?&q=man%20grep

--rick

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to