awk 'NR==1 {gsub("\"", ""); print$2}' $vehicle_file
NR=1 取第一行
gsub("src","target") 将src全部替换为target
print$2取第2列
awk 'NR==1 {gsub("\"", ""); print$2}' $vehicle_file
NR=1 取第一行
gsub("src","target") 将src全部替换为target
print$2取第2列
转载于:https://www.cnblogs.com/rrcj/p/11557289.html