INPUT:
10.175.192.16 vgxyxgf.de.foo.net asdf 34efg
10.175.192.17 sdtds.de.foo.net xyyxv e5432
10.175.243.20 asdfycfb.us.foo.net dfvasf 34525
OUTPUT:
10.175.192.16 vgxyxgf
10.175.192.17 sdtds
10.175.243.20 asdfycfb
How can I make the OUTPUT? Like "awk '{SOMEMAGIC}' foo.txt
So I have the "INPUT" and I need a /etc/hosts file style OUTPUT... :\