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
In bash You can do:
stdout | (dig -f <(cat))
Example program:
( cat <
This way You only invoke 'dig' once.