Problem with tzselect and Dominica
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 }
Thanks for reporting that, and for coming up with a fix. I found another instance of the problem and fixed them both with the attached patch, which I installed into the experimental tz version on github. PS. You get to chase eclipses?!? I'm jealous....
participants (2)
-
Owen Leibman -
Paul Eggert