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 <[email protected]> wrote:

> awk-fu or sed-fu should be able to handle this :P
>
>
> On Thu, Feb 23, 2012 at 11:15 AM, Andrei Savu <[email protected]>wrote:
>
>> On Thu, Feb 23, 2012 at 8:23 AM, Adrian Cole <[email protected]> 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).
>>
>
>

Reply via email to