ref: eaac0f22ca88dbe40afa83fbfaf36da0c6f7821b
dir: /README.md/
# hx A faster version of `hexdump -C` that I constantly use. Comparison on a 1.8Gb file, `time <command> >/dev/null`: | hexdump -C file | hx file | |:----------------|:---------------| | real 3m56.715s | real 0m6.111s | | user 3m55.839s | user 0m5.235s | | sus 0m0.847s | sys 0m0.489s | Around 40 times faster, eh? # Building/installing UNIX-like operating systems: `gcc -Wall -Wextra -O2 -s -g0 hx.c -o hx` Plan 9: `cd /tmp && hget https://github.com/ftrvxmtrx/hx/archive/master.tar.gz | tar xz && cd hx-master && mk install` # Notes * `echo blah | hx` won't print anything, use `echo blah | hx /dev/stdin` instead. * hx will print data as soon as it is available (if used on pipes), without buffering.