Skip to content

Instantly share code, notes, and snippets.

@yojiro
Created November 26, 2012 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yojiro/4148949 to your computer and use it in GitHub Desktop.
Save yojiro/4148949 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
while (<>) {
chomp;
my(@hex) = split(/\s+/, $_);
print pack("H2" x @hex, @hex);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment