sed 收集

#删除倒数第二行的最后的逗号 一条命令

sed ':1;$b;N;/InnoDB/!b1;s/, )/ )/'

原文地址:https://www.cnblogs.com/kuku0223/p/10180270.html