[root@localhost sh]# str=00007985566465
[root@localhost sh]# str_new=$(echo -e $str | sed -r 's/0*([0-9])/\1/')
[root@localhost sh]# echo $str_new
7985566465
[root@localhost sh]# str=00007985566465
[root@localhost sh]# str_new=$(echo -e $str | sed -r 's/0*([0-9])/\1/')
[root@localhost sh]# echo $str_new
7985566465