我想在awk命令中将分隔符替换为选项卡空间,我在下面提到了我的期望.
输入
~1~2~3~
产量
1 2 3
这对我不起作用
awk -F"~" '{ OFS ="\t"; print }' inputfile
awk
awk ×1