shell
问题描述:
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