blob: 9629d0f7c26e52a2493f03706d7e2fc845a93f76 [file] [log] [blame]
#! /usr/bin/env perl
open(BFILE,$ARGV[0]) || die "Could not open \\$ARGV[0]\\: $!";
while(!eof(BFILE)) {
read(BFILE, $buffer, 1);
printf("%02x \n", ord($buffer));
}
close(BFILE) || die "Could not close \\$ARGV[0]\\: $!";