resolveip 0127.001 what the fuck?

Benjamin Lutz mail at maxlor.com
Sun Feb 7 20:37:13 UTC 2010


On Sunday 07 February 2010 20:41:41 deeptech71 at gmail.com wrote:
[...]
> %resolveip 127.1
> Host name of 127.1 is localhost, localhost.my.domain
> %resolveip 0127.1
> Host name of 0127.1 is host1-0-dynamic.0-87-r.retail.telecomitalia.it
[...] 
> %echo what the fuck?
> echo: no match

$ resolveip 0177.0.0.1
Host name of 0177.0.0.1 is localhost, localhost.my.domain

Is that what you were looking for? :) Numbers with a leading 0 are interpreted 
as octal.

Cheers
Benjamin


More information about the freebsd-chat mailing list