G.raud dixit:

>       env .help=val mksh -c env |grep val # fails
>
>The environment variable ".help" is not passed through to the second

This is by design, and will deliberately be kept because it protects
processes run by the shell from malformed parameters (defensive, BSD
style).

Additionally, the root cause of this is that the shell constructs a
child’s environment completely anew (reads: the parent’s environment
is not inherited even in parts). This could be changed, but will not
be, see above.

(One thing we *will* allow is to export associative and/or nested
arrays, using JSON for serialisation, in the future. This will be,
of course, completely nōn-standard.)

bye,
//mirabilos
-- 
<theftf> Ich gebs zu, jupp ist cool
        -- theftf zu Natureshadow beim Fixen von Debian

Reply via email to