[wplug] vars in bash?

Zach netrek at gmail.com
Fri Jan 19 23:43:06 EST 2007


On 1/19/07, Michael Semcheski <lists at immuneit.com> wrote:
> Zach,
>
> Here's my (possibly flawed) understanding:
>
> The first form (sans export) declares a variable.  That variable is only
> defined in the context of the script.
>
> The second form (with export) declares an environment variable.  That
> is, the exported variable will be available after the script finishes in
> the case of .bashrc.
>
> Make sense?

Ah I see. Thanks Mike.

Zach


More information about the wplug mailing list