我有一个包含6列的文本文件.如何从此文件中删除最后三列?
c1 c2 c3 c4 c5 c6
期望的输出
c1 c2 c3
unix shell awk sed
awk ×1
sed ×1
shell ×1
unix ×1