hi guys,
quick question
i have an input that is ipaddress: port ipaddress: port TCP/UDP
can i take the ip's and "host ip" them on output?
I'm looking at something like
awk -F" |:" '{ print 'host $1'":"$2, 'host $3'":"$4,$5}' or something along those lines that will do in line substitution of these values for their hostnames
(replace "host ip" with "host ip | cut -d' ' -f5", but thats not as tidy in the above

)
Thanks guys