plan9fox/rc/bin/whois
2011-03-30 17:14:36 +03:00

9 lines
189 B
Bash
Executable file

#!/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