tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* grep - an easy question.
@ 1998-03-22 13:49 Mark Schlam
  0 siblings, 0 replies; only message in thread
From: Mark Schlam @ 1998-03-22 13:49 UTC (permalink / raw)
  To: tru64-unix-managers

Most of us know that to search for a string in a given file
grep "<string>" file		works and

to search for a string in all files in an entire directory
grep "<string>" *		works

but suppose you have a whole set of directories you wish to search through
where you search for the string in multiple directories
/-
	/foo
		/foo1	/foo2	/foo3	/foo4
		 file1	file2	 file3	file4
		 <string> <string> <string> <string>
TIA for your help in providing the proper syntax for this search.
Mark

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-22 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-22 13:49 grep - an easy question Mark Schlam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox