On [Sat, 25.08.2007 13:15], Mike Bird wrote: > > cat `find . -name '*.c'` | grep 'a_certain_function' > > > > but this seems quite awkward, furthermore it doesn't help that much > > because I don't know in which file the string was found. Maybe there's a > > tool that makes it possible to find a string in a bunch of files and > > also to list in which file the string was found? Or any modification to > > the command given above? > > grep -l 'a_certain_function' $(find . -name '*.c')
That's exactly what I need. It also shows that I have to investigate the grep command a little bit further ... Thanks a lot. Johannes -- Johannes Tax [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]