[tz] Version in zoneinfo files?

Tony Finch dot at dotat.at
Fri Feb 10 12:42:31 UTC 2017


John Hawkinson <jhawk at MIT.EDU> wrote:

> > > I'd like to put in a plug for having the tz string in the binary file
> > > preceded by @(#) so that it appears when the what(1) utility is invoked.
>
> An argument could be made that ident(1) is a better choice, although
> I don't think it really is, in part since it would require assigning a
> pseudokeyword like $Tz: ... $.

It's easy to support both what and ident, e.g. I sometimes have
	@(#) $Version: blahblah $
with the output of `git describe` instead of blahblah.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Faeroes, Southeast Iceland: Southerly veering southwesterly 5 or 6. Very rough
becoming rough. Rain or wintry showers. Good, occasionally poor.


More information about the tz mailing list