Y
Hacker News
new
|
ask
|
show
|
jobs
by
nlo
5570 days ago
Within the past year I discovered dig's +short parameter, which let me retire some scripts I had for parsing just the IPs out of dig's output. e.g.:
dig +short google.com
1 comments
shii
5570 days ago
Yeah +short is pretty cash. I alias this[1] little magic glue to wiki and use that a lot instead of wasting precious milisecs on HTML and silly styling.
[1]:
http://www.commandlinefu.com/commands/view/2829/query-wikipe...
link
[1]: http://www.commandlinefu.com/commands/view/2829/query-wikipe...