Re: Re: Function needed
| From: | Chris Hewitt | Date: | Sun, 09 Jun 2002 15:07:21 +0000 |
| Subject: | Re: Re: Function needed | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101331@lists.php.net to get a copy of this message | ||
$result=
ls -R | grep 'expression' ./;
HTH
Chris
Jason Wong wrote:
On Sunday 09 June 2002 17:17, Austin Marshall wrote:Gaylen Fraley wrote:This searches for strings within a file.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' ./;