Converting Binary Numbers To Decimal The Hard Way On Linux Or Unix

204
If you recall a while back, we looked at using Perl’s “unpack” function to easily convert binary values to decimal and convert decimal back to binary. Those were both (some folks may consider) relatively sophisticated methods of tackling the problem. Although, once you understand how “unpack” works, the first becomes incredibly simple to use and understand. The other one may always be a little awkward.

Link: linuxshellaccount.blogspot.com

Category:

  • Linux