[tz] Problem with tzselect and Dominica

Owen Leibman eclipsechasers2 at yahoo.com
Mon May 11 05:44:41 UTC 2015


Using a freshly downloaded version of tzelect, and choosing 2 (Americas)
followed by 18 (Dominica), the following results:
./tzselect: line 469: /usr/share/zoneinfo/
America/Port_of_Spain: No such file or directory
./tzselect: time zone files are not set up correctly

I believe that is because Dominica's abbreviation (DM) is actually found in
some comments near the head of the file. To avoid this problem, I believe he
awk statement at line 463:
$1 ~ cc && $4 == region { print $3 }
needs to be changed thus to exclude comment lines:
$0 !~ /^#/ && $1 ~ cc && $4 == region { print $3 }



More information about the tz mailing list