[PHP-DEV] Re: New CLI switches (was [PHP-DEV] Using CLI as a shell)

2003-02-04 Thread Edin Kadribasic
On Tuesday 04 February 2003 20:25, Marcus Börger wrote: [snip] > >That is a bit too much text for 'php -h'. It should be moved to the > >online manual. Adding a man page would be great too. > > I wrote already i will do so...but haven't yet the time. Could you please then remove the explanation fr

Re: [PHP-DEV] Re: New CLI switches (was [PHP-DEV] Using CLI as a shell)

2003-02-04 Thread Andrei Zmievski
> > I don't like this. IMO all those switches make it messy... and I really > > don't see the advantage of this over -r. PHP isn't supposed to be used > > like this. If it things get too complicated for -r, write a separate > > script instead of hacking up the command line. > > -1 on this. > > Ye

Re: [PHP-DEV] Re: New CLI switches (was [PHP-DEV] Using CLI as a shell)

2003-02-04 Thread Sander Roobol
On Tue, Feb 04, 2003 at 08:25:45PM +0100, Marcus B?rger wrote: > >Am I correct in this assumption? If yes, could please try to point > >out what are the advantages of -B -R -E and -F over using just -r? > > Yes it is the same result. I never said you cannot do it otherwise. > The reason i implemen

[PHP-DEV] Re: New CLI switches (was [PHP-DEV] Using CLI as a shell)

2003-02-04 Thread Marcus Börger
At 10:28 04.02.2003, Edin Kadribasic wrote: >First simply use "php -h" but i am also thinking about adding a man >page. That is a bit too much text for 'php -h'. It should be moved to the online manual. Adding a man page would be great too. I wrote already i will do so...but haven't yet the tim

Re: [PHP-DEV] Using CLI as a shell

2003-02-04 Thread Michael Mauch
Marcus Börger <[EMAIL PROTECTED]> wrote: > There is a difference between interactive mode and this idea. The > idea was to execute every single line. So if you type 'echo "Hello\n"; > and press enter "Hello" should be displayed. That's how it works for me (PHP-4.3.0). The only pitfall is that you

[PHP-DEV] New CLI switches (was [PHP-DEV] Using CLI as a shell)

2003-02-04 Thread Edin Kadribasic
>First simply use "php -h" but i am also thinking about adding a man >page. That is a bit too much text for 'php -h'. It should be moved to the online manual. Adding a man page would be great too. [snip] >find . -name '*.c' -o -name '*.h' | php -B '$l=0;' -R >'$f=count(file($argn)); echo "$argn($

RE: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread David Sklar
> > > There is a difference between interactive mode and this idea. The > > > idea was to execute every single line. So if you type 'echo "Hello\n"; > > > and press enter "Hello" should be displayed. > > > > i like this idea, so i no longer have to type echo "Hello" on my bash > prompt > > :) > > A

Re: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread Richard Heyes
> > There is a difference between interactive mode and this idea. The > > idea was to execute every single line. So if you type 'echo "Hello\n"; > > and press enter "Hello" should be displayed. > > i like this idea, so i no longer have to type echo "Hello" on my bash prompt > :) At least with this

Re: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread Harald Radi
> There is a difference between interactive mode and this idea. The > idea was to execute every single line. So if you type 'echo "Hello\n"; > and press enter "Hello" should be displayed. i like this idea, so i no longer have to type echo "Hello" on my bash prompt :) harald -- PHP Development

Re: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread gk
At 07:31 PM 2/3/2003 +0100, Marcus Börger wrote: After adding -B, -F, -R and -E which will hopefully liked by the rest of development team so that the stuff need not to be removed. I (or better a friend of mine) had another idea. Here comes: I am glad to hear someone else is interested in php.c

Re: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread Marcus Börger
At 19:37 03.02.2003, Derick Rethans wrote: On Mon, 3 Feb 2003, Marcus [iso-8859-1] Börger wrote: > After adding -B, -F, -R and -E which will hopefully liked by the rest > of development team so that the stuff need not to be removed. Perhaps start by explaining what they do? First simply use "p

Re: [PHP-DEV] Using CLI as a shell

2003-02-03 Thread Derick Rethans
On Mon, 3 Feb 2003, Marcus [iso-8859-1] Börger wrote: > After adding -B, -F, -R and -E which will hopefully liked by the rest > of development team so that the stuff need not to be removed. Perhaps start by explaining what they do? > I (or better a friend of mine) had another idea. Here comes: >

[PHP-DEV] Using CLI as a shell

2003-02-03 Thread Marcus Börger
After adding -B, -F, -R and -E which will hopefully liked by the rest of development team so that the stuff need not to be removed. I (or better a friend of mine) had another idea. Here comes: Why not use CLI as a shell? I'd say adding a command line switch say -S which parses and executes ev