我有test.csv
文件,下面是内容
"A","b","c","d"
我想在& using命令"p"
之间添加,你能帮忙吗?b
c
awk
答案1
awk 'BEGIN{FS=OFS=","}{$2=$2",""\"p\"";print }' filename
"A","b","p","c","d"
我有test.csv
文件,下面是内容
"A","b","c","d"
我想在& using命令"p"
之间添加,你能帮忙吗?b
c
awk
awk 'BEGIN{FS=OFS=","}{$2=$2",""\"p\"";print }' filename
"A","b","p","c","d"