summaryrefslogtreecommitdiff
path: root/ziguard.awk
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2020-10-17 00:41:14 +0000
committerPhilip Paeps <philip@FreeBSD.org>2020-10-17 00:41:14 +0000
commit3421f52711c9060c55b51f52f610f2b343a658aa (patch)
tree2d8906cd6b01388dbac3e8697d94e999e91b4305 /ziguard.awk
parent0e134558d5a3ff7a648ca4f5db450070fc2eb48b (diff)
Diffstat (limited to 'ziguard.awk')
-rw-r--r--ziguard.awk9
1 files changed, 8 insertions, 1 deletions
diff --git a/ziguard.awk b/ziguard.awk
index e8ef49e16f14..e27e799392ec 100644
--- a/ziguard.awk
+++ b/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) {