sh -x ./append1.sed input看看过程是哪有问题file ./append1.sed 看看和其他正常文件的区别vim状态在./append1.sed 里面执行:set fileformat=unix