标签: unix sh
您能否帮我将逗号分隔文件转换为制表符分隔文件?
这 “1”, “一”, “我,你”
要 1我,你,
使用unix脚本
答案 0 :(得分:1)
file.csv:
"1","a","me,and,you"
convertFile.sh
#!/bin/bash IFS="," while read f1 f2 do echo -e $f1\t$f2 done < file.csv