diff --git a/basis/tools/hexdump/hexdump.factor b/basis/tools/hexdump/hexdump.factor index 2d94b71a26..2011260ce4 100644 --- a/basis/tools/hexdump/hexdump.factor +++ b/basis/tools/hexdump/hexdump.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays ascii byte-arrays byte-vectors command-line -grouping io io.encodings.binary io.files io.streams.string -kernel math math.parser namespaces sequences splitting strings ; +USING: accessors ascii byte-arrays byte-vectors command-line +grouping io io.encodings io.encodings.binary io.files +io.streams.string kernel math math.parser namespaces sequences ; IN: tools.hexdump > ] when + stream-contents* hexdump. + ] [ + [ hexdump-file ] each + ] if-empty ; MAIN: hexdump-main