Time zones
Ben Pfaff
pfaffben@msu.edu
07 Aug 2000 17:00:33 -0400
Mark Szidik - MLC <szidikm@mlc.lib.mi.us> writes:
> Yeah, date wont set the TZ
It can't. This is a specific instance of a more general
situation: it is impossible for a subprocess to modify its
parent's environment, or current directory, or other per-process
state. This is the reason that, for instance, "dircolors" and
"ssh-agent" work by writing a series of shell commands to stdout
(which must then be evaluated using `eval' or similar), not by
directly setting the variables it needs to set.