Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Hexadecimal-to-text Converter

DZone's Guide to

Hexadecimal-to-text Converter

·
Free Resource
This script converts all 2-digit hexadecimal numbers (without 0x's) in the standard input into text, though there's probably a better way to do this.

#!/usr/bin/perl -wn
use strict;
s/\s//g;
print chr hex $1 while /([[:xdigit:]]{2})/g;
print "\n";
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}