A command-line hex viewer
--character-table
option, with the ability to use codepage 437, see #194 and #195 (@sharifhsn)--character-table=ascii
option for a ASCII-only character table, see #212 and #36 (@sharkdp)hexyl /dev/zero
, see #211 (@sharifhsn)Full Changelog: https://github.com/sharkdp/hexyl/compare/v0.13.1...v0.14.0
--endianness={little,big}
, see #189 and #104 (@RinHizakura)-C
to be consistent with hexdump -C
. Previously, this would hide the character panel, but now -C
shows the character panel, in case it has been previously (e.g. in an alias
) disabled with --no-characters
, see #187 (@sharkdp)hexyl
as a libraryendianness
method for PrinterBuilder
NO_COLOR
environment variable, see #179 (@sharifhsn)--panels=auto
is used and the output is piped, see #184 (@sharkdp)xxd
-compatibility reasons, --group-bytes
has been renamed to --group-size
(with an --groupsize
alias), see #121 (@sharkdp)hexyl
as a librarynum_group_bytes
has been renamed to group_size
.--panels
and --terminal-width
flags, see #13 and #164 (@sharifhsn)--group-bytes
/-g
option, see #104 and #170 (@RinHizakura)--base B
option (where B
can be binary
, octal
, decimal
or hexadecimal
), see #147 and #178 (@sharifhsn)⋄
in the character panel (previously: 0
), in order not to confuse them with ASCII
0
bytes if colors are deactivated. Closes #166 (@sharkdp)hexyl
as a libraryPrinter::new
is deprecated as a part of the public API. Alternatively, you can now construct a Printer
using the PrinterBuilder
builder API, see #168. (@sharifhsn)Special thanks go to @sharifhsn, not just for the new features, bugfixes and performance improvements. But also for many internal improvements of the code base and other maintenance tasks.
--plain
, --no-characters
, and --no-position
flags, see #154 (@mkatychev)--block-size
argument, see #111 and #144 (@merkrafter)--length
and --bytes
are now marked as conflicting command-line options, see #152 (@sorairolake)-o/--display-offset
flag no longer overrides the value set by --skip
#115. The first displayed address is now the sum of the two values - this matches the behaviour of xxd
.hexyl --skip=-1block
), see #99 (@ErichDonGubler)-l
as another alias for '-n/--length' (xxd
compatibility), see #121 and #135 (@TheDoctor314)--length
silently takes precedence over --bytes
, see #105--version
output, see #131 and #133 (@scimas)hexyl
is now available on snapstore, see #116 (@purveshpatel511)--skip <N>
/ -s <N>
option can be used to skip the first N
bytes of the input, see #16, #88 (@Tarnadas, @MaxJohansen, @ErichDonGubler)--length
/--bytes
/--skip
/--display-offset
options can now take units for their value argument, for example:
hexyl /dev/random --length=1KiB
hexyl $(which hexyl) --skip=1MiB --length=10KiB
Both decimal SI prefixes (kB, MB, …) as well as binary IEC prefixes (KiB, MiB, …) are supported.
In addition, there is a new --block-size <SIZE>
option that can be used to control the size of the block
unit:
hexyl /dev/random --block-size=4kB --length=2block
See: #44 (@ErichDonGubler and @aswild)hexyl
is now available on Void Linux, see #91 (@notramo)Ctrl-C
when reading input from STDIN, see #84Printer::print_all
does not take a second argument anymore.hexyl
as a library: https://github.com/sharkdp/hexyl/blob/v0.7.0/examples/simple.rs
hexyl
can now be used as a library, see #67 (@tommilligan)
Added a new -o
/--display-offset
option to add a certain offset to the
reported file positions, see #57 (@tommilligan)