Let\'s say I have a list of IPs coming into a log that I\'m tailing:
1.1.1.1 1.1.1.2 1.1.1.3
I\'d like to easily resolve them to host names. I
You could also use the read builtin:
tail -f access.log | while read line; do host $line; done