From 4f01be51e0a45f022198d4286d4375636a29b714 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 17:48:51 +0200 Subject: Adding upstream version 2024a. Signed-off-by: Daniel Baumann --- checknow.awk | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 checknow.awk (limited to 'checknow.awk') diff --git a/checknow.awk b/checknow.awk new file mode 100644 index 0000000..57ff3c0 --- /dev/null +++ b/checknow.awk @@ -0,0 +1,54 @@ +# Check zonenow.tab for consistency with primary data. + +# Contributed by Paul Eggert. This file is in the public domain. + +function record_zone(zone, data) { + if (zone) { + zone_data[zone] = data + zones[data] = zones[data] " " zone + } +} + +BEGIN { + while (getline