export name [=word]...
"export %s=%s\n", <name>, <value>
"export %s\n", <name>
- Read-only variables with values cannot be reset.
- Variables that were unset at the time they were output need not be reset to the unset state if a value is assigned to the variable between the time the state was saved and the time at which the saved output is reinput to the shell.
export PWD HOME
export −p > temp-file unset a lot of variables ... processing . temp-file