aboutsummaryrefslogtreecommitdiff
path: root/contrib/tzdata/ziguard.awk
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2020-10-17 00:44:04 +0000
committerPhilip Paeps <philip@FreeBSD.org>2020-10-17 00:44:04 +0000
commite7e2d659af5dca29378325d360be41903445933a (patch)
tree1a4120e0813a733fec81cec73beab0b841fb2d5d /contrib/tzdata/ziguard.awk
parentd6eee350045bce033e95097e8cda4c3b67722186 (diff)
parent3421f52711c9060c55b51f52f610f2b343a658aa (diff)
downloadsrc-e7e2d659af5dca29378325d360be41903445933a.tar.gz
src-e7e2d659af5dca29378325d360be41903445933a.zip
Import tzdata 2020c
Notes
Notes: svn path=/head/; revision=366779
Diffstat (limited to 'contrib/tzdata/ziguard.awk')
-rw-r--r--contrib/tzdata/ziguard.awk9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/tzdata/ziguard.awk b/contrib/tzdata/ziguard.awk
index e8ef49e16f14..e27e799392ec 100644
--- a/contrib/tzdata/ziguard.awk
+++ b/contrib/tzdata/ziguard.awk
@@ -3,6 +3,13 @@
# Contributed by Paul Eggert. This file is in the public domain.
# This is not a general-purpose converter; it is designed for current tzdata.
+# It just converts from current source to main, vanguard, and rearguard forms.
+# Although it might be nice for it to be idempotent, or to be useful
+# for converting back and forth between vanguard and rearguard formats,
+# it does not do these nonessential tasks now.
+#
+# Although main and vanguard forms are currently equivalent,
+# this need not always be the case.
#
# When converting to vanguard form, the output can use negative SAVE
# values.
@@ -28,7 +35,7 @@ DATAFORM != "main" {
in_comment = /^#/
uncomment = comment_out = 0
- # If the line should differ due to Czechoslovakia using negative SAVE values,
+ # If this line should differ due to Czechoslovakia using negative SAVE values,
# uncomment the desired version and comment out the undesired one.
if (zone == "Europe/Prague" && /1947 Feb 23/) {
if (($(in_comment + 2) != "-") == vanguard) {