Command Line Versus Command Line

Liste des GroupesRevenir à ol advocacy 
Sujet : Command Line Versus Command Line
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacy
Date : 07. Jun 2024, 12:38:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3unvu$21g4g$2@dont-email.me>
User-Agent : Pan/0.158 (Avdiivka; )
Microsoft copied its idea of the command line from Gary Kildall’s
CP/M, which in turn copied it from the DEC operating systems of the
1970s. This is just a simple string/array of characters. Implicit in
these systems is the idea that one program cannot directly execute
another; it has to go through a “command interpreter”, which has to be
given a “command” to “interpret”.

Compare the Unix concept of a command line: it is not a “line” at all, but
an array of strings. One program can directly execute another without
having to go through a shell: it can construct and pass this argument
array without having to worry about “special” characters that might be
(mis)interpreted by some CLI/shell intermediary -- unless you choose to go
through such an intermediary.

Those old DEC systems tended to have more complex syntax for their
commands than what is supported by your typical *nix command-line
program. But then, the sheer wealth of *nix command-line tools,
compared to what is available on Microsoft DOS/Windows/NT/PowerShell
and indeed all the proprietary OSes put together, shows that the
*nix-style command line is far more versatile. In *nix, most of the
sophistication is delegated to the shell language that is used to
invoke these programs, while the programs themselves can usually parse
their arguments using a fairly modest amount of code, with little or
no need for some more sophisticated command-line-handling library.

Just to reinforce the direction that Microsoft took, Dave Cutler,
the brains behind Windows NT, also came from DEC, where he was
part of a nest of Unix-haters.

So Microsoft’s recent rediscovery that “the command line is cool”
remains hampered by this brain-dead underlying architecture. The
requirement that most if not all process creation has to be mediated
by some command-line “shell” makes it quite clumsy to emulate the kind
of multi-process pipelines that are all in a day’s work on a Linux or
other *nix system. It also leads to some interesting security
vulnerabilities.

Date Sujet#  Auteur
7 Jun 24 * Command Line Versus Command Line27Lawrence D'Oliveiro
7 Jun 24 +* Re: Command Line Versus Command Line14Chris Ahlstrom
7 Jun 24 i`* Re: Command Line Versus Command Line13rbowman
8 Jun 24 i +* Re: Command Line Versus Command Line6Lawrence D'Oliveiro
8 Jun 24 i i`* Re: Command Line Versus Command Line5rbowman
8 Jun 24 i i `* Re: Command Line Versus Command Line4Lawrence D'Oliveiro
8 Jun 24 i i  `* Re: Command Line Versus Command Line3candycanearter07
9 Jun 24 i i   `* Re: Command Line Versus Command Line2Chris Ahlstrom
11 Jun 24 i i    `- Re: Command Line Versus Command Line1candycanearter07
8 Jun 24 i `* Re: Command Line Versus Command Line6Chris Ahlstrom
8 Jun 24 i  `* Re: Command Line Versus Command Line5rbowman
9 Jun 24 i   `* Re: Command Line Versus Command Line4Chris Ahlstrom
9 Jun 24 i    `* Re: Command Line Versus Command Line3rbowman
9 Jun 24 i     `* Re: Command Line Versus Command Line2vallor
10 Jun 24 i      `- Re: Command Line Versus Command Line1Chris Ahlstrom
8 Jun 24 `* Re: Command Line Versus Command Line12DFS
8 Jun 24  `* Re: Command Line Versus Command Line11Joel
8 Jun 24   +* Re: Command Line Versus Command Line8vallor
8 Jun 24   i+- Re: Command Line Versus Command Line1DFS
8 Jun 24   i+- Re: Command Line Versus Command Line1rbowman
9 Jun 24   i`* Re: Command Line Versus Command Line5Lawrence D'Oliveiro
9 Jun 24   i +- Re: Command Line Versus Command Line1Chris Ahlstrom
11 Jun 24   i `* Re: Command Line Versus Command Line3candycanearter07
11 Jun 24   i  `* Re: Command Line Versus Command Line2Lawrence D'Oliveiro
11 Jun 24   i   `- Re: Command Line Versus Command Line1Chris Ahlstrom
8 Jun 24   `* Re: Command Line Versus Command Line2DFS
9 Jun 24    `- Re: Command Line Versus Command Line1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal