From f5be5baebd4a7fbf3e329a20feab30140e186c1b Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 17 Mar 2020 11:00:48 -0600 Subject: [PATCH] Document * in hd --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 9e7fff6..878de6b 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,16 @@ instead of using "." for unprintable characters. 00000000 00 01 02 03 30 52 9a □☺☻♥0RÜ 00000007 +Also like the normal hd, +this one will print an asterisk if the preceding 16 octets are repeated. +Use the offset printed next to determine how many repeats you have. + + printf '%64s' hello | hd + 00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 + * + 00000030 20 20 20 20 20 20 20 20 20 20 20 68 65 6c 6c 6f hello + 00000040 + ## unhex: unescape hex