sed 替换特定行特定字符 将最后一行的, 替换成 ; sed '/@17/{s/,/;/g}' 参考链接 https://blog.csdn.net/curiouswen/article/details/78216207