Liste des Groupes | Revenir à l misc |
On 2024-03-30, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:>I also wrote: "Scripting refers to executing commands which are so high>
level that they are entire applications or functional blocks within an
application."
So if I write:
>
int main()
{
system("ls | wc -l");
return 0;
}
>
Thats a script?
The "ls | wc -l" part is a script, passed off for execution to a
language that mainly supports scripting.
Note the non-scripting features here like "int main",
which doesn't /do/ anything, and typically the need to compile
and link this in order to run it.
No? What if I use popen() or execve() then? Where do you>
draw the line?
If you use popen and execve, you're using more systems programming
functional blocks that are not scripting commands.
I'm not being obtuse. There is no hard dividing line between scripts and>
Right now you're doubling down on obtusity, by my estimate.
Les messages affichés proviennent d'usenet.