shithub: riscv

ref: 157d7ebdbd7479b271e7b1df744b2dfc6b5816e9
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