diff options
Diffstat (limited to 'elsie.nci.nih.gov/src/leapseconds.awk')
-rw-r--r-- | elsie.nci.nih.gov/src/leapseconds.awk | 64 |
1 files changed, 31 insertions, 33 deletions
diff --git a/elsie.nci.nih.gov/src/leapseconds.awk b/elsie.nci.nih.gov/src/leapseconds.awk index 732db99..739615a 100644 --- a/elsie.nci.nih.gov/src/leapseconds.awk +++ b/elsie.nci.nih.gov/src/leapseconds.awk @@ -3,39 +3,37 @@ # This file is in the public domain. BEGIN { - printf "%s", "\ -# Allowance for leapseconds added to each timezone file.\n\ -\n\ -# This file is in the public domain.\n\ -\n\ -# This file is generated automatically from the data in the public-domain\n\ -# leap-seconds.list file available from most NIST time servers.\n\ -# If the URL <ftp://time.nist.gov/pub/leap-seconds.list> does not work,\n\ -# you should be able to pick up leap-seconds.list from a secondary NIST server.\n\ -# For more about leap-seconds.list, please see\n\ -# The NTP Timescale and Leap Seconds\n\ -# <http://www.eecis.udel.edu/~mills/leap.html>.\n\ -\n\ -# The International Earth Rotation Service periodically uses leap seconds\n\ -# to keep UTC to within 0.9 s of UT1\n\ -# (which measures the true angular orientation of the earth in space); see\n\ -# Terry J Quinn, The BIPM and the accurate measure of time,\n\ -# Proc IEEE 79, 7 (July 1991), 894-905 <http://dx.doi.org/10.1109/5.84965>.\n\ -# There were no leap seconds before 1972, because the official mechanism\n\ -# accounting for the discrepancy between atomic time and the earth's rotation\n\ -# did not exist until the early 1970s.\n\ -\n\ -# The correction (+ or -) is made at the given time, so lines\n\ -# will typically look like:\n\ -# Leap YEAR MON DAY 23:59:60 + R/S\n\ -# or\n\ -# Leap YEAR MON DAY 23:59:59 - R/S\n\ -\n\ -# If the leapsecond is Rolling (R) the given time is local time.\n\ -# If the leapsecond is Stationary (S) the given time is UTC.\n\ -\n\ -# Leap YEAR MONTH DAY HH:MM:SS CORR R/S\n\ -" + print "# Allowance for leapseconds added to each timezone file." + print "" + print "# This file is in the public domain." + print "" + print "# This file is generated automatically from the data in the public-domain" + print "# leap-seconds.list file available from most NIST time servers." + print "# If the URL <ftp://time.nist.gov/pub/leap-seconds.list> does not work," + print "# you should be able to pick up leap-seconds.list from a secondary NIST server." + print "# For more about leap-seconds.list, please see" + print "# The NTP Timescale and Leap Seconds" + print "# <http://www.eecis.udel.edu/~mills/leap.html>." + print "" + print "# The International Earth Rotation Service periodically uses leap seconds" + print "# to keep UTC to within 0.9 s of UT1" + print "# (which measures the true angular orientation of the earth in space); see" + print "# Terry J Quinn, The BIPM and the accurate measure of time," + print "# Proc IEEE 79, 7 (July 1991), 894-905 <http://dx.doi.org/10.1109/5.84965>." + print "# There were no leap seconds before 1972, because the official mechanism" + print "# accounting for the discrepancy between atomic time and the earth's rotation" + print "# did not exist until the early 1970s." + print "" + print "# The correction (+ or -) is made at the given time, so lines" + print "# will typically look like:" + print "# Leap YEAR MON DAY 23:59:60 + R/S" + print "# or" + print "# Leap YEAR MON DAY 23:59:59 - R/S" + print "" + print "# If the leapsecond is Rolling (R) the given time is local time." + print "# If the leapsecond is Stationary (S) the given time is UTC." + print "" + print "# Leap YEAR MONTH DAY HH:MM:SS CORR R/S" } /^ *$/ { next } |