The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



Thread: Export command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-20-2007
edcrosbys edcrosbys is offline
Read Only
 

Join Date: Jul 2007
Posts: 15
It takes a local variable and makes it global.

Try running a script that calls a function or another script. If the secondary script or function sets a LOCAL variable, it is gone when that function of script returns to the parent. If that variable is exported, it is a GLOBAL variable that will remain.
Reply With Quote