sed -i "s/`echo -e \\\t`/,/g" 文件名.txt
sed -i "s/\s/,/g" 文件名.txt
本文转自 chengxuyonghu 51CTO博客,原文链接:http://blog.51cto.com/6226001001/1604231,如需转载请自行联系原作者
sed -i "s/`echo -e \\\t`/,/g" 文件名.txt
sed -i "s/\s/,/g" 文件名.txt