[tz] tabs vs spaces

random832 at fastmail.us random832 at fastmail.us
Wed May 1 11:35:34 UTC 2013


On Wed, May 1, 2013, at 1:42, David Muir Sharnoff wrote:
> I wanted to extract some of the data from the timezone files so I wrote a
> quick parser for them.  In the process I discovered 1,477 lines that have
> spaces where they should have tabs.

Tokens in the timezone files are separated by _any whitespace_.

In most languages, splitting up by 'any whitespace' is the simplest
thing in the world. In C (where nothing is simple), you could reuse the
code from zic itself.


More information about the tz mailing list