${(V)…}
: Show special characters
V
makes special characters in the resulting words visible.
Links
Examples
- Show special characters
- Output:
1 2
string=$'bell: \a and backspace: \b' echo ${(V)string}
1
bell: ^G and backspace: ^H
BashSupport Pro is a Zsh IDE with support for ${(V)…} – try it now!