मुझे आश्चर्य है कि अगर कोई मुझे बता सकता है कि ये काम क्यों नहीं कर रहे हैं, उन्हें रजिस्ट्रार और एक्सपायरी डेट की आपूर्ति करनी चाहिए :
${AWK} -F: '/Registrar:/ && $0 != "" { getline; REGISTRAR=substr($0,2,17) } END { print REGISTRAR }'
तथा
awk '/Expiry date:/ { print $3 }'``
यह हूइस का एक प्रिंट आउट है:
Domain name:
kurtisbro.co.uk
Registrant:
kurtis brown
Registrant type:
UK Individual
Registrant's address:
23 Cambria Mews
NOTTINGHAM
NG3 4GZ
United Kingdom
Registrar:
Heart Internet Ltd t/a eXtend [Tag = EXTEND]
Relevant dates:
Registered on: 01-Mar-2012
Expiry date: 01-Mar-2014
Last updated: 23-Jun-2012
Registration status:
Registered until expiry date.
Name servers:
ns.mainnameserver.com
ns2.mainnameserver.com
WHOIS lookup made at 17:38:12 07-Aug-2012
--
This WHOIS information is provided for free by Nominet UK the central registry
for .uk domain names. This information and the .uk WHOIS are:
Copyright Nominet UK 1996 - 2012.
You may not access the .uk WHOIS or use any data from it except as permitted
by the terms of use available in full at http://www.nominet.org.uk/whois, which
includes restrictions on: (A) use of the data for advertising, or its
repackaging, recompilation, redistribution or reuse (B) obscuring, removing
or hiding any or all of this notice and (C) exceeding query rate or volume
limits. The data is provided on an 'as-is' basis and may lag behind the
register. Access may be withdrawn or restricted at any time.
2
क्या आप आउटपुट होने की उम्मीद करते हैं? कृपया इसे अपने प्रश्न में संपादित करें।
—
Nifle
@ निफ़ल मैंने अनुरोधित जानकारी जोड़ी है
—
Kurtis Bro