[SunHELP] How to substract hexadecimal numbers in sh script

Gurcan ERIM sunhelp at sunhelp.org
Thu Oct 4 04:13:37 CDT 2001


Hi,

I need to substract to hexadecimal numbers. I can do this with bc but it
looks for uppercase letters. (A,B,C,D,E,F) but my source file has numbers
with lowercase.=20

Is it possible to implement lowercase letters as hexadecimal?
Or
How can i change lowercase to upper, any practical suggest, like using sed,
awk, or printf etc.?

Thanks.

G=FCrcan





_______________________________________________________
http://inbox.excite.com





More information about the SunHELP mailing list