爲什麼我的Bash腳本將<feff>添加到文件的開頭?
我已經寫了清理的.csv文件,刪除一些不好的逗號和壞的報價腳本(壞,意味着它們在內部程序打破了我們用來把這些文件)使用SED: # remove all commas, and re-insert the good commas using clean.sed
sed -f clean.sed $1 > $1.1st
# remove all quotes
sed 's/\"//g' $1
linux
bash
sed
cp
2009-12-29