I'd like to take an IP address from my Terminal, right click, select Services > Whois and get the results back somehow.
This doesn't exist so I'm wanting to create a simple Automator script to do that. But, I'm running into a few problems.
This is what I've done - Automator Actions:
Get Specified Text
xxx.xxx.xxx.xxx
Run Shell Script
for x in "$@";
do whois $x;
done
View Results
But all I get in View Results is this:
(
""
)
Any suggestions?