Better shell scripting
| From: | mikeheald at streamgroup dot co dot uk | Date: | Fri, 07 Sep 2001 12:06:11 +0000 |
| Subject: | Better shell scripting | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65338@lists.php.net to get a copy of this message | ||
Yeah, I agree. However, it might make things a bit muddled
for people using it as cgi? How would PHP tell if the following
was PHP code or if its supposed to be echoed to the web browser?
I would rather see a -shell option which does what you describe.
Mike (long-time listener, first-time poster ;)
>>>>>>>>>>>>>>>>>> Original Message
>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<
On 9/7/01, 11:27:30 AM, Edin Kadribasic wrote
regarding Re: [PHP-DEV] patch to make for better shell scripting:
> Almost forgot. IMO -q swich should make starting <?php optional so
instead
> of writing:
> #!/usr/bin/php -q
> <?php
> print "Hello, world!\n";
> ?>
> I could simply say:
> #!/usr/bin/php -q
> print "Hello, world!\n";
> Edin
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net