From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d33a06905d58b720 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-02-05 01:38:41 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!feeder.qis.net!washdc3-snh1.gtei.net!news.gtei.net!portc01.blue.aol.com!audrey05.news.aol.com!not-for-mail X-Admin: news@aol.com From: lallang@aol.com.cn.ru (Spam Only Irritates Me) Newsgroups: comp.unix.tru64 Date: 05 Feb 2001 09:38:12 GMT References: Organization: AOL http://www.aol.com Subject: Re: Octal (?) IP address Message-ID: <20010205043812.27657.00001517@ng-mn1.aol.com> Xref: supernews.google.com comp.unix.tru64:1643 >"Spam Only Irritates Me" wrote in message >news:20010204224556.18699.00001741@ng-fi1.aol.com... >> Is there any Tru64-based utility that will translate this IP address of >a >> spampage to the dotted quad equivalent? >> >> http://3506561041/viagnow99/ >> >> It only seems to work under AOL's browser and not regular IE5 nor Netscape >6. > >It's decimal. You could try: ># echo '3506561041' | perl -e 'chomp($a=<>);printf "%vd\n", pack("N",$a);' >209.1.224.17 > >but you need perl >= v5.6 > >Boyd Okay, thanks. I'll have to get my perl updated (it's currently 5.004_04 and came with Tru64 5.0A). Do you have any URL's pointing to webpages that explain how the whole thing is compacted into one decimal number so I might understand it a little better? ------Signature line follows-------------- Remove ".cn.ru" to email me. Don't send me spam. You've been warned. "Lallang" is the Malay name for "Cogon grass". See http://www.nps.gov/plants/alien/fact/imcy1.htm for information.