[root@localhost tmp]# ./mq.sh
./mq.sh: line 15: warning: here-document at line 10 delimited by end-of-file (wanted `eof')
5724 72 1994 2011 1 4 8409 4 2016 02 07 18 56 09 0 0 0 2016 02 07 18 56 09 82 0 0 5000 4194304 0 80 20 999999999 999999999 1 0 2

脚本执行后报错,黑色加粗部分

RESULT=$(cd /opt/mqm/bin
su mqm << eof

...省略
eof)

是因为结束字符应该为

eof

)

05-10 21:00