Hi,
Im needing to do a grep on a local file store. The problem is that the way I am currently doing it does not allow me to manipulate the output:
<?
$command = "grep \"".$text."\" /home/httpd/html/ -r -H -n";
$pants=passthru($command);
?>
This just streams it to the screen. I need a way to do the grep then eventually get the contents into some form of array. Any suggestions?
Rene