[107169] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: interger to I P address

daemon@ATHENA.MIT.EDU (Colin Alston)
Wed Aug 27 13:42:32 2008

Date: Wed, 27 Aug 2008 19:42:16 +0200
From: Colin Alston <karnaugh@karnaugh.za.net>
To: chartley@oar.net
In-Reply-To: <20080827170047.40951BBB84@rebma.osc.edu>
X-MailScanner-From: karnaugh@karnaugh.za.net
Cc: nanog@nanog.org
Errors-To: nanog-bounces@nanog.org

On 2008/08/27 07:00 PM chartley@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 ;)


home help back first fref pref prev next nref lref last post