in reply to how to read in a binary file and convert it to ascii output

Here's a one-liner...

perl -0777e'$i++,print $_.($i%20?" ":"\n")for unpack"(H2)*",<>;print"\ +n"' file

Update: Cleaned up and shortened the one-liner. I'm just assuming that you want a hex viewer. You weren't very explicit.

Update2: a little more squishing.

-sauoq
"My two cents aren't worth a dime.";