> Isn't it simpler with > http://www.php.net/manual/en/function.shell-exec.php > ?
Perhaps. But the command to execute would be relatively arbitrary. What I'm trying to do is set up a script that will filter the results of a grep. But what I'm grepping and where I'm starting from would change. I suppose I could pass those arguments to my script and access it using argv but I'm actually kind of curious how (if) I can access output which has been piped (or redirected) to my script. thnx, Christoph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php