From: "Jeff Shervey" <jeff.shervey@us.landisstaefa.com>
Subject: UNIX command to search subdirs for text in a file
Date: 1997/01/13 [thread overview]
Message-ID: <01bc018d$8f170bc0$17ee1bac@usbgrjeff> (raw)
With DEC UNIX 3.2 how can I search a bunch of subdirectories for a certain
file that contains certain text.
I'm trying this command with no luck:
grep -i "duplicate" | find . -name *.sql -print
I've also tried:
find . -name *.sql -print | grep -i "duplicate" *.pls
Thank you,
jeff.shervey@us.landisstaefa.com
--
These comments do not necessarily reflect the views of Landis & Staefa, Inc.
next reply other threads:[~1997-01-13 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-13 5:00 Jeff Shervey [this message]
1997-01-13 5:00 ` UNIX command to search subdirs for text in a file Mark Sirota
1997-01-14 5:00 ` Kenneth Miller
1997-01-14 5:00 ` Steve Strange USG
1997-01-14 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1997-01-14 5:00 ` Gleb O. Raiko
1997-01-15 5:00 ` Juergen Fuhrmann
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