Tips of Bash/Zsh

1 展开 Bash 数组 (array) 时候, ${ARRARY[@]} 和 ${ARRARY[*]} 有什么区别? 2 How do you escape characters in heredoc? 2.1 Question 2.2 Answer 3 special expansion: 4 will .bash_profile be sourced when executing scripts? 本文为摘录,原文为: https://unix.stackexchange.com/questions/505949/expanding-only-certain-variables-inside-a-heredoc 1 展开 Bash 数组 (array) 时候, ${ARRARY[@]} 和 ${ARRARY[*]} 有什么区...