# Local built-in

The local built-in prints or sets local variables.

## Syntax

- `local [-rxX] [name[=value]…]`

## Description

The local built-in is equivalent to the typeset built-in except that the `-f` (`--functions`) and `-g` (`--global`) options cannot be used.

## Notes

The local built-in is a semi-special built-in. In the POSIX standard, it is defined as a command with unspecified behavior.