summaryrefslogtreecommitdiff
path: root/rc/bin/whois
blob: 8308e4b6022705b8f168a2a16a305c4d75bbbe4e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/rc

for(i in $*)
	grep '^'$i'	' /adm/whois ||
	grep -i $i /adm/keys.who ||
	grep -i $i /adm/netkeys.who ||
	grep -i $i /adm/whois ||
	grep -i $i /adm/users ||
	echo who indeed is $i