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 found.....

try this one:
grep -H GetChi *.C

-- 
Christian Heim <[EMAIL PROTECTED]>
Gentoo Linux Developer - vserver

Attachment: pgpQgrDYB0qqv.pgp
Description: PGP signature

Reply via email to