You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running hexdump on tzfile(5) Europe/London from tzdata2024a (data is in network big-endian order - so sticking to hex):
$ ls -lgo /usr/share/zoneinfo/Europe/London
-rw-r--r-- 6 3664 Mar 28 01:26 /usr/share/zoneinfo/Europe/London
$ hexdump -f tzfile.hd /usr/share/zoneinfo/Europe/London > tzfile-hd.log
format file: tzfile.hd.txt
trying to produce better output than a series of xxd commands shown as a script at bottom with log output.
It appears the hexdump input offset does not advance over many lines of input formats, then it does and sticks again, and so on: tzfile-hd.log
It appears that every format string in a file needs to be on a single line for hexdump to work properly: $ hexdump -f tzfile-1line.hd /usr/share/zoneinfo/Europe/London > tzfile-1line-hd.log tzfile-1line.hd.txt tzfile-1line-hd.log
There appear to be no non-trivial hexdump format or format file examples in the man page or on the web!
Running
hexdump
ontzfile
(5) Europe/London fromtzdata
2024a (data is in network big-endian order - so sticking to hex):format file:
tzfile.hd.txt
trying to produce better output than a series of
xxd
commands shown as a script at bottom with log output.It appears the
hexdump
input offset does not advance over many lines of input formats, then it does and sticks again, and so on:tzfile-hd.log
It appears that every format string in a file needs to be on a single line for hexdump to work properly:
$ hexdump -f tzfile-1line.hd /usr/share/zoneinfo/Europe/London > tzfile-1line-hd.log
tzfile-1line.hd.txt
tzfile-1line-hd.log
There appear to be no non-trivial
hexdump
format or format file examples in the man page or on the web!xxd
script and output log:tzfile-xxd.log
The text was updated successfully, but these errors were encountered: