Converts 0-9a-fA-F text files to their binary form
authorshort <>
Mon, 5 Nov 2001 08:02:53 +0000 (08:02 +0000)
committershort <>
Mon, 5 Nov 2001 08:02:53 +0000 (08:02 +0000)
bin/fromhex [new file with mode: 0755]

diff --git a/bin/fromhex b/bin/fromhex
new file mode 100755 (executable)
index 0000000..b92d1b4
--- /dev/null
@@ -0,0 +1,8 @@
+#! /usr/bin/perl
+
+use strict;
+use warnings;
+
+while (<>) {
+       printf("%c",hex($1)) while ($_=~s/([[:xdigit:]]{2})//);
+       }