去除双引号:
sed 's/"//g' test.csv > test2.csv
[10:01:28root@pro:/data1/export]
# cat test.csv
"a","b"
[10:01:31root@pro:/data1/export]
# sed 's/"//g' test.csv > test2.csv
[10:01:34root@pro:/data1/export]
# cat test2.csv
a,b
去除双引号:
sed 's/"//g' test.csv > test2.csv
[10:01:28root@pro:/data1/export]
# cat test.csv
"a","b"
[10:01:31root@pro:/data1/export]
# sed 's/"//g' test.csv > test2.csv
[10:01:34root@pro:/data1/export]
# cat test2.csv
a,b