V10/ipc/internet/lookup.c

Compare this file to the similar file:
Show the results in this format:

main(ac, av)
	int ac;
	char *av[];
{
	if(strchr(av[1], '.')==0){
		printf("%s == %s\n", av[1], in_ntoa(in_address(av[1])));
	} else {
		printf("%s == %s\n", av[1], in_host(in_address(av[1])));
	}
}