Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: "Marco Calviani" <marco.calviani@...>
Subject: [OT] search for a string in a list of files but.....
Date: Mon, 27 Feb 2006 15:01:30 +0100
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,
MC

-- 
gentoo-user@g.o mailing list


Replies:
Re: [OT] search for a string in a list of files but.....
-- Alexander Skwar
Re: [OT] search for a string in a list of files but.....
-- Christian Heim
Re: [OT] search for a string in a list of files but.....
-- Boris Fersing
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Acerhk and dri problem on travelmate 803
Next by thread:
Re: [OT] search for a string in a list of files but.....
Previous by date:
Re: Open Source cross-platform video conferencing?
Next by date:
Re: [OT] search for a string in a list of files but.....


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.