"Moses P. Milazzo" wrote:
> Why not:
> grep "//" `find . -name "*.[ch]"` | grep -v 'p://'

You should include -print as part of the find statement or else you will
wind up getting a list of lines containing C++ style comments without
knowing the name of the file that needs to be edited.


Kevin.  (http://www.interlog.com/~kcozens/)

Internet:kcozens at interlog.com   |"What are we going to do today, Borg?"
      or:ve3syb at rac.ca          |"Same thing we always do, Pinkutus:
Packet:ve3syb@va3bbs.#scon.on.ca.na|  Try to assimilate the world!"
#include <disclaimer/favourite>    |              -Pinkutus & the Borg

Reply via email to