plan9front/rc/bin/whois

10 lines
204 B
Bash
Executable File

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