Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!jarthur!uunet!wash08!rae98 From: rae98@wash08.uucp (Robert A. Earl) Newsgroups: comp.unix.questions Subject: Re: Descending directory hierarchy? Keywords: directory list find search Message-ID: <1989Dec1.175546.12415@wash08.uucp> Date: 1 Dec 89 17:55:46 GMT References: <1372@lakesys.lakesys.com> Reply-To: rae98@wash08.UUCP (Robert A. Earl) Distribution: usa Organization: American Chemical Society, Washington, DC Lines: 21 In article <1372@lakesys.lakesys.com> johnb@lakesys.lakesys.com (John C. Burant) writes: >I've been thinking about the find command on SysV's... the one that makes you >type find / name [filename] -print to find files, and only finds files with >the exact filename specified... and I've been thinking about writing a program >that will act like the BSD find... it list all files with the phrase you look >for in the filename... (like if I looked for t, I'd get a lot of files listed) > >Thanks. >-John At least on my SVR2 (NCR Tower 32/[468]X0, you can do this with: find /usr01/rae98 -name "*unix*" -print which gives: /usr01/rae98/News/comp/unix /usr01/rae98/News/comp/sources/unix Which probably isn't the best way to show what I meant, but you get the idea... -- =========================================================== Sorry....no signatures available today...please try later.