G.raud dixit:

>Will you update the manpage, so that the fact that not all the
>environment is passed to subcommands is written explicitely?  Maybe even
>even that it is so by conscious design?  I read somewhere that a good
>documentation was one of the goals of mksh (or of MirBSD).

Hm, I think that it is already clear:

     Parameters can be assigned values in a number of ways. First, the shell
     implicitly sets some parameters like '#', 'PWD', and '$'; this is the
     only way the special single character parameters are set. Second, parame-
     ters are imported from the shell's environment at startup. Third, parame-
[…]
     Parameters with the export attribute (set using the export or typeset -x
     commands, or by parameter assignments followed by simple commands) are
     put in the environment (see environ(7)) of commands run by the shell as
     name=value pairs. The order in which parameters appear in the environment
     of a command is unspecified. When the shell starts up, it extracts param-
     eters and their values from its environment and automatically sets the
     export attribute for those parameters.

But if anyone got a (britpick’d) patch for the manpage… maybe.

bye,
//mirabilos
-- 
17:57 < jtsn> Der 25C3 ist lustig. Deutsche Vortragende brechen sich vor
deutschen Zuhörern auf Englisch einen ab. ;-)  18:01 < jtsn> Adolfs Werk
war sehr nachhaltig. ;-)    18:01 < jtsn> Das gab's nichtmal in der DDR,
das Deutsche mit Deutschen auf Russisch reden. ;-)          (10x cnuke@)

Reply via email to