whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Cole <adr...@jclouds.org>
Subject Re: Downloading binaries
Date Thu, 23 Feb 2012 09:49:48 GMT
here's a start:

$ curl -q -s -S -L http://www.apache.org/dyn/closer.cgi |sed -n '/^<p><a
href="http/s/.*"\(.*\)".*/\1/gp'
http://apache.mivzakim.net//


On Thu, Feb 23, 2012 at 11:33 AM, Adrian Cole <adrian@jclouds.org> wrote:

> awk-fu or sed-fu should be able to handle this :P
>
>
> On Thu, Feb 23, 2012 at 11:15 AM, Andrei Savu <savu.andrei@gmail.com>wrote:
>
>> On Thu, Feb 23, 2012 at 8:23 AM, Adrian Cole <ferncam1@gmail.com> wrote:
>>
>> > I like the idea of auto-selecting closest mirror.  Perhaps a shell
>> function
>> > for this?
>> >
>>
>> Is you bash-fu that strong? I was thinking about writing a python script
>> (python is available on most of the distros).
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message