Re: Re: Function needed
| From: | Jason Wong | Date: | Sun, 09 Jun 2002 11:01:26 +0000 |
| Subject: | Re: Re: Function needed | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101325@lists.php.net to get a copy of this message | ||
On Sunday 09 June 2002 17:17, Austin Marshall wrote:
> Gaylen Fraley wrote:
> > I am in need of a function/script that will take a directory and search
> > all filenames, recursively down, for a given file. Can anyone point me
> > to a source? Thanks.
>
> $result=
grep -r 'expression' ./;
This searches for strings within a file.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Earth -- mother of the most beautiful women in the universe.
-- Apollo, "Who Mourns for Adonais?" stardate 3468.1
*/