Christian Brabandt wrote:

> > > Bram,
> > > I thought about adding a test to check the availability of URLs. Here is 
> > > a test script. However I did not add it to the test suite, as it takes 
> > > some time. But it already finds some unreachable URLs.
> > 
> > I like the idea, but the script does not appear to work.
> > 
> > I don't have curl but do have wget, I tried to make it work with that.
> > Unforrunately wget doesn't appear to have an option to only fetch the
> > header.
> > 
> > It seems this line should be removed:
> > 
> >     %d
> 
> Here is an updated version, that should work with wget. The %d was only 
> at the wrong line I think. 

Thanks.  Didn't know about "wget --spider" (not easy to guess!).

Why did you add --max-redirect=0 to wget?  It's OK if a URL redirects.


-- 
Portable Computer:  A device invented to force businessmen
to work at home, on vacation, and on business trips.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui