diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-12-17 10:02:57 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-12-17 10:02:57 -0800 |
commit | 951395058c6d9e069ccbf767669bddc60bcbe0c8 (patch) | |
tree | 38e68de6ab9a63f1bc663decf7ce6d8198a3eded | |
parent | 5486ec685abf8116aef8d4a03fafd80c8407257b (diff) | |
download | tz-951395058c6d9e069ccbf767669bddc60bcbe0c8.tar.gz |
* leapseconds.awk, NEWS: Also output expiration date comment.
Problem reported by Martin Burnicki in:
http://www.ietf.org/mail-archive/web/tzdist/current/msg01132.html
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | leapseconds.awk | 9 |
2 files changed, 12 insertions, 0 deletions
@@ -33,6 +33,9 @@ Unreleased, experimental changes Changes affecting commentary + The leapseconds file commentary now mentions the expiration date. + (Problem reported by Martin Burnicki.) + Update Mexican Library of Congress URL. diff --git a/leapseconds.awk b/leapseconds.awk index bb81e96..756391e 100644 --- a/leapseconds.awk +++ b/leapseconds.awk @@ -37,6 +37,11 @@ BEGIN { } /^ *$/ { next } + +/^#\tUpdated through/ || /^#\tFile expires on:/ { + last_lines = last_lines $0 "\n" +} + /^#/ { next } { @@ -64,3 +69,7 @@ BEGIN { } old_TAI_minus_UTC = TAI_minus_UTC } + +END { + printf "\n%s", last_lines +} |