Question on id stability

Paul Eggert eggert at CS.UCLA.EDU
Tue Jan 4 18:07:49 UTC 2005


Jonathan Lennox <lennox at cnr.cs.columbia.edu> writes:

> I wonder if it would be a good idea to separate the old-style names
> (US/Eastern, etc.) from compatibility versions of old Area/Location names.
> It seems like FreeBSD and similar systems would in general want to have the
> latter even if not the former.

It's not entirely clear which is which for Australian names like
"Australia/Canberra".  However, here's a little awk script that
you can apply to the "backwards" file if you want just the
old Area/Location names.

BEGIN {
  area["Africa"] = 1; area["America"] = 1; area["Antarctica"] = 1
  area["Arctic"] = 1; area["Asia"] = 1; area["Atlantic"] = 1
  area["Etc"] = 1; area["Europe"] = 1
  area["Indian"] = 1; area["Pacific"] = 1
  # Australia is special; it's old-style names (I think).
}
/^Link/ && area[substr($3, 1, index($3, "/") - 1)]



More information about the tz mailing list