[PATCH] new applet gethostbyname

Joshua Judson Rosen jrosen at harvestai.com
Tue Jul 3 15:36:02 UTC 2012


On 2012-07-03 10:58, ralda at gmx.de wrote:
>>> So it might be a good idea for Eial to model this new applet on
>>> glibc's "getent" command
>
>> I cannot find any reference to glibc's "getent" command, can you point
>> me to such reference?
>
> What about this one? Is it the right one??
> http://perkamon.alioth.debian.org/online/man1/getent.1.php

Yes--that's the one.

The output from "getent hosts ..." is a line in the format used by /etc/hosts, e.g.:

	$ getent hosts localhost
	127.0.0.1       localhost.localdomain localhost

-- 
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."


More information about the busybox mailing list