可以直接使用 man bash 去查阅答案
答案来源:https://stackoverflow.com/questions/2500436/how-does-cat-eof-work-in-bash(并不是最高赞答案哦!)