local
Shell builtin: local
Creates variables that belong to one function.
Usage
local [name[=value] ...]
Description
Inside a function, give the function its own NAME: changes stay in the function, and the old value comes back when it ends.
Options in the simulator
No options.
Where you learn it
No lesson yet.