readonly name [=word]...
"readonly %s=%s\n", <name>, <value>
"readonly %s\n", <name>
- Variables with values at the time they were output do not have the readonly attribute set.
- Variables that were unset at the time they were output do not have a value at the time at which the saved output is reinput to the shell.
readonly HOME PWD