Pass (export) the value of one or more shell
giving global meaning to the variables (which are local by default).
For example, a variable defined in one shell script must be
exported if its value will be used in other programs
called by the script. If no
lists the variables exported by the current shell. The
second form is the Korn shell version, which is similar to the first
form except that you can set a variable
before exporting it.
In the Bourne shell, you would type:
In the Korn shell, you could type this instead: