```bash # 分隔符由','切换为':',并分隔结果 cat test.txt | awk -F ',' -v OFS=':' '{printf "%s%s%s%s",$1,OFS,$2," "}'` ```