${name:Q}: Remove quotes

Removes one level of quote from the substituted words.

Examples

Remove quotes and escapes from variable value
1
2
quoted="hello\tworld"
echo $quoted:Q
Output:
1
hellotworld
BashSupport Pro is a Zsh IDE with support for $varName:Qtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal