tools.hexdump: use re-decode.

handle-patch-and-put
John Benediktsson 2018-08-02 13:34:38 -07:00
parent dc25fe3688
commit 8d07e763d9
1 changed files with 1 additions and 2 deletions

View File

@ -86,8 +86,7 @@ M: byte-vector hexdump. all-bytes underlying>> hexdump-bytes ;
: hexdump-main ( -- )
command-line get [
input-stream get dup decoder? [ stream>> ] when
hexdump-stream
input-stream get binary re-decode hexdump-stream
] [
[ hexdump-file ] each
] if-empty ;