[Gllug] ADVERT: Shell Scripting book
addw at phcomp.co.uk
Wed Jul 20 22:26:49 UTC 2011
On Wed, Jul 20, 2011 at 11:16:46PM +0100, Steve Parker wrote:
> I think that this is where I was unclear. I should have made explicit
> that the state of the given process is modified, but not exported to the
> current process's environment which is what is passed on to its children.
That is not right either. You talk about exporting to the shell's own environment,
the shell does not do that - it doesn't change its own environment. For each
program it exec()s it builds an environment to pass to that program - that is
distinct from its own environment that it got from its parent.
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Gllug mailing list - Gllug at gllug.org.uk
More information about the GLLUG