标签:
直接上脚本:
#!/bin/sh
addr=09b00000
for (( i=0;i<2000;i+=4 ))
do
addr_new=`echo "obase=16; $((16#$addr + $i))" | bc`
echo "addr_new=0x$addr_new"
done
shell中的16进制计算
原文地址:http://blog.csdn.net/xiangpingli/article/details/43268775