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
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to