Basic bash programming

Any other programming language that is not covered in the Web Scripting category.

Postby mm_freak on Thu Oct 27, 2005 10:01 pm

bart416 wrote:Yeah, and if your smart you can let php tell the shell what to do.
Causing it to have quite some controll over your computer.


Then it's still a PHP script, that contains calls to the shell interpreter. Every programming language (or standard library, in the case of C/C++) has that feature. In C/C++ it's called system(), in Basic it's called SHELL and in TCL it's called exec. =)

It's still a PHP expression that calls the shell interpreter or sends signals to the parent process. And it's still a TCL script that calls the shell or raises signals. That doesn't make it a shell script, even not a PHP script that includes executable shell commands, because it doesn't. If it had, then the script had to be executed by a mixture of PHP interpreter and the shell.
I'm x^10 + x^8 + x^5 + x^4 + x^3 + 1, so don't mess with me!
mm_freak
Moderator
Moderator
 
Posts: 635
Joined: Sun Sep 11, 2005 12:29 pm
Location: Baden-Wuerttemberg (Germany)

Previous

Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron