/usr/share/elvis/scripts/whois.ex is in elvis-common 2.2.0-11.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | " This implements a "whois:domainname_or_ipaddress" protocol, and a
" ":whois domainname_or_ipaddress" command that uses it. These aliases
" depend on the whois server at arin.net
alias readWHOIS {
" Implements the whois: protocol
r http://ws.arin.net/cgi-bin/whois.pl?queryinput=!2
try 1,/<pre>/-1 d
then i <html><body>
try %s/<\/\?blockquote>//g
try %s/HREF="\/cgi-bin\/whois.pl?queryinput=/HREF="whois:/g
set bufdisplay=html nomodified noedited locked
}
alias whois sp whois:!1
|