shell Boys in Company C :HK 192 2192Alien :HK 119 1982The Hill :KL 63 2972Aliens :HK 532 4892Star Wars :HK 301 4102A Few Good Men :KL 445 5851Toy Story :HK 239 3972如何只打印出第三列哦.

问题描述:

shell
Boys in Company C :HK 192 2192
Alien :HK 119 1982
The Hill :KL 63 2972
Aliens :HK 532 4892
Star Wars :HK 301 4102
A Few Good Men :KL 445 5851
Toy Story :HK 239 3972
如何只打印出第三列哦.

[root@localhost ~]# awk -F ':' '{print $2}' abc | awk '{print $2} '
192
119
63
532
301
445
239