expansion

Bash Quote removal

Removes syntactic quoting characters from the original word after preceding expansions. Literal quote characters introduced as data are not automatically removed.

Formal Syntax & Structure

bash syntaxbash
prefix-"$name"'.txt'

Return Value

behavior

See the syntax and description for shell interpretation or output.

Working Example

Example Snippetbash
name='Daily report'printf '[%s]\n' prefix-"$name"'.txt'
Bash Reference