[root@VM_207_144_centos opt]# cat test.txt 1 2 3 2 3 4 5 3 4 5 6 7 4 5 6 7 8 9 a b c 1 3 d 3
[root@VM_207_144_centos opt]# awk '{print $$1}' test.txt 1 3 5 7 a b c 1 3 d 3
转载于:https://blog.51cto.com/yht1990/1913282
[root@VM_207_144_centos opt]# cat test.txt 1 2 3 2 3 4 5 3 4 5 6 7 4 5 6 7 8 9 a b c 1 3 d 3
[root@VM_207_144_centos opt]# awk '{print $$1}' test.txt 1 3 5 7 a b c 1 3 d 3
转载于:https://blog.51cto.com/yht1990/1913282