Perl and Bash Versions Of Binary To Decimal Conversion Script
July 21, 2008
The Linux and Unix Menagerie: “As promised, in yesterday’s post on converting binary values to decimal in C, today we’re going to follow up with straight-up ports to Perl and shell. Actually, they’ll be slightly different. If you check yesterday’s post, for some reason I left in a variable called “difference” which was a part of the code I mentioned that I had originally written to pad 0’s on the left hand side of a binary number less than 8 digits.”
Article taken by RSS feed.
Read the Rest of the Article at: Perl and Bash Versions Of Binary To Decimal Conversion Script











Comments
Got something to say?
You must be logged in to post a comment.