$ perl -e 'print "foo"'|hexdump -C 00000000 66 6f 6f ... |foo| 00000003