4918
5880
3万
GROAD
曲径通幽,安觅芳踪。
#!/bin/sh tmpstr='458976' declare -A myarr full='0x33,' myarr=(['0']=0x30 ['1']=0x31 ['2']=0x32 ['3']=0x33 ['4']=0x34 ['5']=0x35 ['6']=0x36 ['7']=0x37 ['8']=0x38 ['9']=0x39) for ((i = 0; i < ${#tmpstr}; i++)) do full="$full""${myarr[${tmpstr:i:1}]}""," done echo $full
0x33,0x34,0x35,0x38,0x39,0x37,0x36,
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|曲径通幽 ( 琼ICP备11001422号-1|公安备案:46900502000207 )
GMT+8, 2025-5-3 11:38 , Processed in 0.066778 second(s), 23 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.