${(V)…}: Show special characters

V makes special characters in the resulting words visible.

Examples

Show special characters
1
2
string=$'bell: \a and backspace: \b'
echo ${(V)string}
Output:
1
bell: ^G and backspace: ^H
BashSupport Pro 是一款支持 V** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款