This works:
telnet 132.163.4.101 14 | tail -n 1 > outfile

But so does 
        wget http://tycho.usno.navy.mil/cgi-bin/timer.pl
if we want to bring this back to being on topic.  :)


Mark Post

-----Original Message-----
From: Nicolas Schodet [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 8:12 AM
To: Mr. Wilson
Cc: [EMAIL PROTECTED]
Subject: Re: WELCOME to [EMAIL PROTECTED]


* Mr. Wilson <[EMAIL PROTECTED]> [030722 11:14]:
> The site at http://132.163.4.101:14 is not technically an NTP site. It is
> generated via an NTP device.
> For instance, if I click View/Source, I get the following:
> 52842 03-07-22 08:59:41 50 0 0 905.4 UTC(NIST) *
> If there are no html headers, even though I can reach it by http can I use
> wget?
> [...]

If the Status Line is malformed, I think it is not http. Try using
telnet or netcat to connect to it, It may be sufficient to retrieve the
informations you want.

$ telnet 132.163.4.101 14

Ni.

-- 
Pourquoi les logiciels ne doivent pas avoir de propriétaire :
http://www.gnu.org/philosophy/why-free.fr.html

Reply via email to