[ILUG] cat *.hay | grep needle

Breathnach, Proinnsias (Dublin) breatpro at exchange.ie.ml.com
Tue Jan 16 11:09:10 GMT 2001


Surely something along the lines of :

grep needle *.hay

will do that ... output is in the format:

Stack.hay:line with needle in it

Proinnsias

> -----Original Message-----
> Subject:	[ILUG] cat *.hay | grep needle
> 
> Anyone know of some sort of switch where I can do a
> "cat *.filetype | grep pattern" and have the name of
> the file where the pattern was found?
> 
> 





More information about the ILUG mailing list