Script Help
inode0
inode0 at gmail.com
Thu Nov 9 01:45:47 UTC 2006
On 11/8/06, Rick Stevens <rstevens at vitalstream.com> wrote:
> On Wed, 2006-11-08 at 17:28 -0600, inode0 wrote:
> > It appears you are suggesting setting a variable in the environment of
> > the parent process via exporting it in the child process. My brain is
> > hurting this evening but I think the exported variable in the script
> > would only be exported to the environment of any child processes it
> > creates?!
>
> Ah, you're right. However, if the variable exists BEFORE the script is
> called, the script can modify its contents and it'll persist.
Can you provide an example of doing that? I don't see how that would
be possible without some clever trickery.
John
More information about the Redhat-install-list
mailing list