interger to I P address

Colin Alston karnaugh at karnaugh.za.net
Wed Aug 27 17:42:16 UTC 2008


On 2008/08/27 07:00 PM chartley at oar.net wrote:
> Sorry to be continuing this thread, but I find a certain kind of elegance in
> bash which isn't actually there, but helps me sleep at night.


siza # ping -c 1 1089055123 | head -n 1 | awk '{{{print $3}}}' | sed 
's/(\(.*\))/\1/'
64.233.169.147

Ok I'm out of bad ideas so I'll shut up now ;)




More information about the NANOG mailing list