Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: uninvited members of associative array
On Fri, Dec 16, 2022 at 1:15 PM Dominik Vogt <dominik.vogt@xxxxxx> wrote:
>
> But variables are not even a real part of the shell, the shell
> script or its data. Every process has an associated environment
> that consists of "key=value" pairs.
This is entirely untrue. The shell has a separate parameter space
that is unrelated to the process environment. That's why the "export"
("typeset +x") command exists: to move values from the shell
parameter space into the environment space.
You're just making things worse by trying to assert that shells are
not programming languages. Stop.
> Of course modern shells have lots of self contained builtin
> commands and control structures that resemble programming
> languages.
Shells definitely are a form of programming language. That they
combine a number of features not usually found all in the same
language doesn't change that.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author