Browse Source

Plan 9 from Bell Labs 2006-04-03

David du Colombier 15 years ago
parent
commit
55c09e4e27
4 changed files with 15 additions and 2 deletions
  1. 1 1
      dist/replica/_plan9.db
  2. 1 1
      dist/replica/plan9.db
  3. 1 0
      dist/replica/plan9.log
  4. 12 0
      rc/bin/iwhois

+ 1 - 1
dist/replica/_plan9.db

@@ -5440,7 +5440,7 @@ rc/bin/ipconf/lra - 775 sys sys 1058791152 1558
 rc/bin/ipconf/outside - 775 sys sys 1058790951 550
 rc/bin/ipconf/theworld - 775 sys sys 1058790940 1212
 rc/bin/ipso - 775 sys sys 1079377794 2838
-rc/bin/iwhois - 775 sys sys 1100534870 1372
+rc/bin/iwhois - 775 sys sys 1143979502 1637
 rc/bin/juke - 775 sys sys 1105565140 1131
 rc/bin/kill - 775 sys sys 1143389260 142
 rc/bin/kmem - 775 sys sys 1141940177 468

+ 1 - 1
dist/replica/plan9.db

@@ -5440,7 +5440,7 @@ rc/bin/ipconf/lra - 775 sys sys 1058791152 1558
 rc/bin/ipconf/outside - 775 sys sys 1058790951 550
 rc/bin/ipconf/theworld - 775 sys sys 1058790940 1212
 rc/bin/ipso - 775 sys sys 1079377794 2838
-rc/bin/iwhois - 775 sys sys 1100534870 1372
+rc/bin/iwhois - 775 sys sys 1143979502 1637
 rc/bin/juke - 775 sys sys 1105565140 1131
 rc/bin/kill - 775 sys sys 1143389260 142
 rc/bin/kmem - 775 sys sys 1141940177 468

+ 1 - 0
dist/replica/plan9.log

@@ -29232,3 +29232,4 @@
 1143946859 0 c sys/src/cmd/upas/fs/fs.c - 664 sys sys 1143946869 26924
 1143948659 0 a sys/src/cmd/upas/fs/rfc2047-test - 664 sys sys 1143946985 1146
 1143950460 0 c 386/bin/aux/vga - 775 sys sys 1143950134 334335
+1143981068 0 c rc/bin/iwhois - 775 sys sys 1143979502 1637

+ 12 - 0
rc/bin/iwhois

@@ -26,6 +26,7 @@ case *.fr
 	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 *.se
 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 {