shithub: riscv

ref: 2d13ac5d39f75819be22eb436abd9f31e55b4b2f
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