keyword
Bash brace command group
Group commands in the current shell when standalone; require a list terminator before the closing brace.
Formal Syntax & Structure
bash syntaxbash
{ list; }Return Value
exit status
Group commands in the current shell when standalone; require a list terminator before the closing brace.
Working Example
Example Snippetbash
value=outer{ value=brace; }printf '%s\n' "$value"( value=paren; printf '%s\n' "$value" )printf '%s\n' "$value"