[tz] Use of <> delimiters in TZ string is not documented

Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Aug 19 19:53:21 UTC 2016


On Fri, Aug 19, 2016 at 3:32 PM, <Paul_Koning at dell.com> wrote:

> > $ strings etc/zoneinfo/Asia/Almaty | tail -1
> > <+06>-6
>
> But why would you expect "strings" to produce useful output for a binary
> data file?
>

That was just the easiest way to extract the TZ string.  If you prefer
hexdump, the following shows that the file ends with "\n<+06>-6\n":

$ hexdump -C etc/zoneinfo/Asia/Almaty | tail -3
000003f0  01 01 01 01 00 00 00 00  00 00 00 00 00 00 0a 3c
 |...............<|
00000400  2b 30 36 3e 2d 36 0a                              |+06>-6.|
00000407
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20160819/476e8a27/attachment.html>


More information about the tz mailing list