shithub: riscv

ref: db3bf8271bd6afe732256b98e86fe38612cb5ff9
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