sub hexdump { (my $x= shift) =~ s/\G(.{1,16})/ (my $s= $1) =~ y|\x20-\x7e|.|c; sprintf "%08x %-50|%s|\n", $-[0], "@{[unpack q{(H2)8a0(H2)8},$1]}", $s /ges; $x }
In reply to Re^6: hexdump -C
by NERDVANA
in thread hexdump -C
by NERDVANA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |