This patch fixes *.de lookups and adds them for *.jp, *.cn and *.in. Reference: /n/sources/patch/applied/iwhois-dejpcnin Date: Sun Apr 2 11:16:44 CES 2006 Signed-off-by: 20h@r-36.net --- /rc/bin/iwhois Sun Apr 2 11:16:28 2006 +++ /rc/bin/iwhois Sun Apr 2 11:16:24 2006 @@ -26,6 +26,7 @@ fn boilerplate { grep -v '^%%' $* } case *.de machine=whois.denic.de + person='-T dn '^$person fn boilerplate { cat $* } case *.dk machine=whois.dk-hostmaster.dk @@ -36,8 +37,19 @@ case *.es echo no known whois server for .es exit +case *.jp + machine=whois.jprs.jp + person=$person^'/e' + fn boilerplate { cat $* } +case *.in + machine=whois.inregistry.net + fn boilerplate { cat $* } +case *.cn + machine=whois.cnnic.net.cn + fn boilerplate { cat $* } case * machine=whois.internic.net # alternate: whois.networksolutions.com + fn boilerplate { cat $* } } file=/tmp/iwhois$pid fn sigexit {