Descending directory hierarchy?

Robert A. Earl rae98 at wash08.uucp
Sat Dec 2 04:55:46 AEST 1989


In article <1372 at lakesys.lakesys.com> johnb at 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.



More information about the Comp.unix.questions mailing list