Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 21:17:24 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: whois(1) usage
Message-ID:  <20040416021723.GL28745@dan.emsphone.com>
In-Reply-To: <c5n3on$2hf$1@kemoauc.mips.inka.de>
References:  <c5n3on$2hf$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 15), Christian Weisgerber said:
> >From <URL:http://www.sixxs.net/faq/account/?faq=6bonehandle>:
> 
> | * First, read about the person template:
> |   whois -h whois.6bone.net -v person.
> 
> FreeBSD's whois(1) does not have a -v flag.  I checked a Mandrake
> Linux system, and there -v is supported and obviously produces the
> expected result.
> 
> So, how do I execute the query above with our whois command?

whois -h whois.6bone.net -- "-v person"

works for me, on both FreeBSD and Linux whois.  -v is not really a
whois option at all; it's a remote server flag.  I assume there are
others, and the above syntax is the only way to pass all possible flags
(Linux's syntax only works with flags that the whois binary itself
doesn't use).

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040416021723.GL28745>