I have an awk statement that works but I am calling awk twice and I know there has to be a way to combine the two statements into one. The purpose is to pull out just the ip address from loopback1.
That works perfect, thank you! Except I messed up and did not realize that my ip address line may not always be $4, it could be on any line in that record. This works for me but again I am calling awk up too many times.