shell函数中eof报错(warning: here-document at line 9 delimited by end-of-file (wanted `EOF'))时间:2022-12-21 18:37:36在shell编写函数时,函数中有eof和EOF,如果是在sublime编写按照格式tab缩进会有以下报错 解决办法: 取消函数中的tab缩进,在运行即可