Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Alexander Skwar
Marco Calviani wrote: > Hi list, >i need to search for a particular string inside a list of text > files: i've thought of this very simple one: > > cat *.C | grep GetChi > > it works but however if the string is found it does not say in which > of the file it has been found. > > Is there

Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Marco Calviani
Hi Boris, > try grep GetChi *.C poor me, this was very easy. It was my fault because man grep says it all. Many thanks for your help Boris, MC -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Christian Heim
On Monday 27 February 2006 15:01, MC wrote: > Hi list, >i need to search for a particular string inside a list of text > files: i've thought of this very simple one: > > cat *.C | grep GetChi > > it works but however if the string is found it does not say in which > of the file it has been foun

Re: [gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Boris Fersing
2006/2/27, Marco Calviani <[EMAIL PROTECTED]>: > Hi list, >i need to search for a particular string inside a list of text > files: i've thought of this very simple one: > > cat *.C | grep GetChi > > it works but however if the string is found it does not say in which > of the file it has been f

[gentoo-user] [OT] search for a string in a list of files but.....

2006-02-27 Thread Marco Calviani
Hi list, i need to search for a particular string inside a list of text files: i've thought of this very simple one: cat *.C | grep GetChi it works but however if the string is found it does not say in which of the file it has been found. Is there a simple way to do it? Thanks in advance