keyword

Closing brace

Unquoted closing brace terminates a brace group in the appropriate grammatical position; the preceding list requires a terminator. It is not a general string delimiter.

Formal Syntax & Structure

bash syntaxbash
{ list; }

Return Value

exit status

Unquoted closing brace terminates a brace group in the appropriate grammatical position; the preceding list requires a terminator. It is not a general string delimiter.

Working Example

Example Snippetbash
{ printf 'group\n'; }printf '%s\n' '}'
Bash Reference