plan9/rc/bin/whois
2014-02-08 22:26:48 -08:00

10 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