shithub: riscv

ref: 32291b52bcbd6976051acff1692b571e321ac859
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