📄 starquoted2.tests
字号:
if test $# != 0; then exec "$THIS_SH" "$0"fi# No params!for a in "$*"; do echo Should be printed; donefor a in "$@"; do echo Should not be printed; done# Yes, believe it or not, bash is mesmerized by "$@" and stops# treating "" as "this word cannot be expanded to nothing,# but must be at least null string". Now it can be expanded to nothing.for a in "$@"""; do echo Should not be printed; donefor a in """$@"; do echo Should not be printed; donefor a in """$@"''"$@"''; do echo Should not be printed; donefor a in ""; do echo Should be printed; done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -