expansion

Bash Attribute representation

Produces flags describing parameter attributes. The exact flags depend on attributes and shell version.

Formal Syntax & Structure

bash syntaxbash
${p@a}

Return Value

shell expansion result

Produces flags describing parameter attributes. The exact flags depend on attributes and shell version.

Working Example

Example Snippetbash
readonly p=helloprintf '%s\n' "${p@a}"
Bash Reference