shithub: riscv

ref: 345e93dd4c5879655686edd282b859cf958360c4
dir: /rc/bin/whois/

View raw version
#!/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