var_expand_in_redir.tests
来自「制作Linux下的文件系统必用的工具」· TESTS 代码 · 共 14 行
TESTS
14 行
if test $# = 0; then exec "$THIS_SH" "$0" abc "d e"fiecho TEST1 >"$1.out"echo TEST2 >"$2.out"# bash says: "$@.out": ambiguous redirect# ash handles it as if it is '$*' - we do the sameecho TEST3 >"$@.out"cat abc.out "d e.out" "abc d e.out"rm abc.out "d e.out" "abc d e.out"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?