Hex input to awk

Dan Jacobson danj1 at cbnewse.ATT.COM
Thu Jan 18 06:59:57 AEST 1990


What's the easy way to read in hexidecimal numbers in [n]awk?  There's no
scanf function.  Outputting them is no problem (printf, OFMT).  But what
if you have a input file like:
Burgers	04ff
Wax	2d3f
I hope I don't have to write a function.
-- 
Dan Jacobson +1-708-979-6364 danj1 at ihlpa.ATT.COM



More information about the Comp.unix.questions mailing list