On Fri, Dec 13, 2002 at 11:58:54PM -0500, Derek J. Balling wrote:
> 
> On Friday, December 13, 2002, at 09:29  PM, Marc Schneiders wrote:
> > I will, since total stripping sounds even better than the disclaimer at
> > the beginning.
> > Still I would not like to have to install a whois client on all 
> > machines
> > that need it. Especially not since one comes with the base system (in 
> > any
> > case in FreeBSD, and I guess in Linux too).
> 
> The whois client that comes with Debian supports this feature by 
> default, and I've compiled it under other platforms as well.
> 
> http://www.linux.it/~md/software/

I don't bother with a custom whois client.  In my .tcshrc, I use:

set junk='/./,/^$/p'
alias whois "whois \!:* | sed -Ene '/^The [dD]ata in /,/abide by th/d;/(modify|abide 
by) th/d;/^(pol|NO|RE)/d' -e '$junk' "

The $junk variable is used so that I can match a dollar sign within
double quotes.  This uses FreeBSD's sed and whois binaries, so YMMV.

It shouldn't be hard to adapt this to bash, since the bulk of the
interesting stuff is done by sed.

-- 
  Paul Chvostek                                             <[EMAIL PROTECTED]>
  Operations / Abuse / Whatever                          +1 416 598-0000
  it.canada - hosting and development                  http://www.it.ca/

Reply via email to