Use hxd.xxd instead of hexdump

This commit is contained in:
Romain Calascibetta 2022-11-01 15:14:36 +01:00
parent 50ce95b8bd
commit 115f3a2f6b
2 changed files with 4 additions and 4 deletions

View file

@ -16,6 +16,7 @@ depends: [
"mirage-clock-unix" "mirage-clock-unix"
"mirage-clock" "mirage-clock"
"ptime" "ptime"
"hxd" {with-test}
"conf-git" {with-test} "conf-git" {with-test}
] ]

View file

@ -18,10 +18,9 @@ Simple test of our Git Key-Value store
> save db.pack > save db.pack
> quit > quit
00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!. 00000000: 4865 6c6c 6f20 576f 726c 6421 0a Hello World!.
$ tail -c20 db.pack | hexdump $ tail -c20 db.pack | hxd.xxd
0000000 b2e4 3734 7e2e 7e3d 0885 1239 873d cd11 00000000: b2e4 3734 7e2e 7e3d 0885 1239 873d cd11 ..74~.~=...9.=..
0000010 4299 4771 00000010: 4299 4771 B.Gq
0000014
$ mgit git://localhost/simple db.pack <<EOF $ mgit git://localhost/simple db.pack <<EOF
> get /foo > get /foo
> quit > quit