Re: [PATCH 4/4] lib/hexdump.c: Allow multiple groups to be separated by lines '|'

From: Sergey Senozhatsky
Date: Wed Apr 10 2019 - 04:53:15 EST


On (04/10/19 13:17), Alastair D'Silva wrote:
> With the wider display format, it can become hard to identify how many
> bytes into the line you are looking at.
>
> The patch adds new flags to hex_dump_to_buffer() and print_hex_dump() to
> print vertical lines to separate every N groups of bytes.
>
> eg.
> buf:00000000: 454d414e 43415053|4e495f45 00584544 NAMESPAC|E_INDEX.
> buf:00000010: 00000000 00000002|00000000 00000000 ........|........

What if the output had |-s in it? |||||||||

-ss