Hi all,
If I want to declare global variables in shell script what should I do?
For example:
If I have a file called "env.rc", which contains set of variable declarations.
Now, if I have a program called 'A' which calls the script "B" which in turn calls script "C".
I want to have all the variables declared in all the scripts. For this, I need to run the "env.rc" in each & every script or can we run this globally in one, so that it applies to all the scripts.
Advice me.
Regards
CKC