From: Mark Schlam <mslist () castle ! beaver ! edu>
To: tru64-unix-managers
Subject: grep - an easy question.
Date: Sun, 22 Mar 1998 13:49:17 +0000 [thread overview]
Message-ID: <96078701111593.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1998-03-22 13:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox