csh setenv problem

Guy Harris guy at auspex.auspex.com
Tue Aug 22 04:06:56 AEST 1989


>	The Bourne Shell (sh) has an export command, which exports
>a variable to the parent shell.

Wrongo.  The Bourne shell has an "export" command, which causes a shell
variable to be exported to *CHILD* shells.  It does *NOT* "export"
variables to the parent shell; a process can't just "export" an environment to
an already-existing process, it have to politely ask said process to
import said variable, using some protocol it and said process have
agreed on.  There is no "standard" protocol of that sort already
implemented by any shell I know of.



More information about the Comp.unix.questions mailing list