$result=`ls -R | grep 'expression' ./`;

HTH
Chris

Jason Wong wrote:

>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.
>



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

Reply via email to