shithub: riscv

ref: e2224a90bb2455993363efe52e005b2fe9c78cdd
dir: /rc/bin/whois/

View raw version
#!/bin/rc

>[2] /dev/null 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