Subject: Re: Proposal: Sort order for MASTER_SITES
To: Alistair Crooks <Alistair_Crooks@CommerzbankZGE.com>
From: Rene Hexel <rh@idle.trapdoor.vip.at>
List: tech-pkg
Date: 06/19/1999 08:33:33
Alistair Crooks wrote:

> Hmmmm.
> 
> Looks like a regular expression is definitely needed.

  mjl and I have discussed this yesterday, and we might be able to do
the trick by having something like

MASTER_SITE_SORT= .at .at.netbsd.org .de

  that will be converted into a

MASTER_SORT_REGEX= //.*\.at/ //.*\.at\.netbsd\.org/ //.*\.de/

  and then used in the script as proposed.  This allows us to keep the
MASTER_SITE_SORT syntax simple for most uses, while still allowing for
more complex selections (e.g. http: vs. ftp:) through MASTER_SORT_REGEX.

  Cheers
      ,
   Rene