expansion
Bash Quoted representation
Produces a shell-quoted representation, not a general-purpose sanitizer. Do not execute it as code.
Formal Syntax & Structure
bash syntaxbash
${p@Q}Return Value
shell expansion result
Produces a shell-quoted representation, not a general-purpose sanitizer. Do not execute it as code.
Working Example
Example Snippetbash
p='daily report'printf '%s\n' "${p@Q}"