Aug. 19, 2016
7:53 p.m.
On Fri, Aug 19, 2016 at 3:32 PM, <Paul_Koning@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