find string in my files
Posted: Wed Jan 28, 2004 5:28 pm
Hy folks,
sometimes I have the problem that I can't remember in which files I use a specific variable.
So I want to display all files that include this string and it would be great to display the lines of code too.
I tried
cat *.pb ! grep variable
But in this way I can't find out the filenames.
Is there another way to do it ?
Markus
sometimes I have the problem that I can't remember in which files I use a specific variable.
So I want to display all files that include this string and it would be great to display the lines of code too.
I tried
cat *.pb ! grep variable
But in this way I can't find out the filenames.
Is there another way to do it ?
Markus