我试图弄清楚 Bash 文件中的这个语句是做什么的。我认为它结合了stdout,stderr并将其输出到$log指向的文件并将多行字符串附加到它。这样对吗?
stdout
stderr
$log
cat << EOF >> $log 2>&1 the quick brown fox jumps EOF
shell-script cat here-document
cat ×1
here-document ×1
shell-script ×1