Re: Piping and the CLI parser

From: Date: Wed, 06 Aug 2003 06:59:45 +0000
Subject: Re: Piping and the CLI parser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158428@lists.php.net to get a copy of this message
On Tuesday 05 August 2003 13:25, Nicolas Frisby wrote: [snip] > executes the script with arguments), I attempted some piping; which, > through very shallow research, I've come to think uses STDIN. I don't think it does. > It fails; no piping whatsoever. Even the simplest 'dir | echo.php', where > echo just implodes() $argv and echoes, gives no output. If all you're interested is in the results and not how you get there, then forget about $argv and just simply parse STDIN to get your 'arguments'. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Wonderful day. Your hangover just makes it seem terrible. */

« previous php.general (#158428) next »