Originally posted by: Martin
tried google, it suggest the switch -R, but that's not installed the machine I am working.
any other ways to do it?
I am trying to search for a string in many different source files, located in many different directories.
Originally posted by: mAdD INDIAN
Originally posted by: Martin
tried google, it suggest the switch -R, but that's not installed the machine I am working.
any other ways to do it?
I am trying to search for a string in many different source files, located in many different directories.
Are you trying to find DEBUG statements in the src?
Just do the diff statement and pipe that to a file. Then use grep on it.
cvs diff -c > difference
grep 'DEBUG' difference
Originally posted by: Martin
Originally posted by: mAdD INDIAN
Originally posted by: Martin
tried google, it suggest the switch -R, but that's not installed the machine I am working.
any other ways to do it?
I am trying to search for a string in many different source files, located in many different directories.
Are you trying to find DEBUG statements in the src?
Just do the diff statement and pipe that to a file. Then use grep on it.
cvs diff -c > difference
grep 'DEBUG' difference
I'm trying to find examples of how they use DEBUG in the code, as I am not quite sure how to use it. Do you know?
hevnsnt, -d isn't installed either.
Originally posted by: mAdD INDIAN
Originally posted by: Martin
Originally posted by: mAdD INDIAN
Originally posted by: Martin
tried google, it suggest the switch -R, but that's not installed the machine I am working.
any other ways to do it?
I am trying to search for a string in many different source files, located in many different directories.
Are you trying to find DEBUG statements in the src?
Just do the diff statement and pipe that to a file. Then use grep on it.
cvs diff -c > difference
grep 'DEBUG' difference
I'm trying to find examples of how they use DEBUG in the code, as I am not quite sure how to use it. Do you know?
hevnsnt, -d isn't installed either.
DEBUG(DB_whatever is listed in lib.h, "Message");
that's how you use it.
Originally posted by: abc
i forgot, what's the grep command | supposed to do...