I am using
find some_dir -name "*.some_ext" | xargs -l10 grep "some_expr"
to find files in folder, but I just want to display the file name but not all file content. Any solution?
|
feedback
|
|
Also, I recommend:
That's just because I'm paranoid about file names. If you're going to use the output of grep to send to another program, you can use | |||||
feedback
|
|
You can do this using grep alone:
where the letter following the R is a lower-case L. | |||
|
feedback
|