shell将txt转换为csv: cat aa.txt | tr -s '[:blank:]' ',' > bb.csv 转载于:https://blog.51cto.com/yangzhiming/2298898