Hi Experts,
I have a file called "hex" which contains info like below
How do i convert everything in this file to decimal value? Please advice. Thanks
Hi Experts,
I have a file called "hex" which contains info like below
How do i convert everything in this file to decimal value? Please advice. Thanks
One solution:
cat hex | while read value
do
printf "%d\n" $value
done
Regards
Hi Franklin,
This is what i get
even after removing the "0x"
Hi,
Use typeset command in UNIX to do the conversion. I think you need to used typeset -i. Try typeset after removing '0x'.
Regards,
Chella