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