[tz] New leapseconds.awk doesn't work on macOS

Paul Eggert eggert at cs.ucla.edu
Fri Jan 17 08:17:08 UTC 2020

On 1/16/20 6:11 PM, Chris Woodbury via tz wrote:

> just as long as we don't do something silly like printing strings
>   with CRs in them (which we used to do but don't do now).

We still do that, for the "# Updated through" and "# File expires on:" comments. 
So the sub(/\r$/, "") is still needed for those two lines. We might as well keep 
the Awk script simple here, and the 'sub' is simple.

More information about the tz mailing list