我有一个包含三列的文件.我想删除第3列(就地编辑).我怎么能用awk或sed做到这一点?
123 abc 22.3 453 abg 56.7 1236 hjg 2.3
期望的输出
123 abc 453 abg 1236 hjg
awk sed
awk ×1
sed ×1