See commit 66cda43f6783a2b869251f7093689751ae298070 diff --git a/NEWS b/NEWS index 1e781d2..45e4f84 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,9 @@ Unreleased, experimental changes that tzset always has, by replacing invalid bytes with '_' and by shortening too-long abbreviations. + tzselect no longer mishandles POSIX TZ settings when GNU awk is used. + (Thanks to Stefan Kuhn.) + Changes affecting build procedure 'make check' now checks for links to links in the data. diff --git a/tzselect.ksh b/tzselect.ksh index 029abcd..d5dae17 100644 --- a/tzselect.ksh +++ b/tzselect.ksh @@ -328,7 +328,7 @@ while tzname = "[^-+,0-9][^-+,0-9][^-+,0-9]+" time = "[0-2]?[0-9](:[0-5][0-9](:[0-5][0-9])?)?" offset = "[-+]?" time - date = "(J?[0-9]+|M[0-9]+\.[0-9]+\.[0-9]+)" + date = "(J?[0-9]+|M[0-9]+\\.[0-9]+\\.[0-9]+)" datetime = "," date "(/" time ")?" tzpattern = "^(:.*|" tzname offset "(" tzname \ "(" offset ")?(" datetime datetime ")?)?)$"