登 录
#/bin/bash num="/home/abc/" for ((a=0; a < ${#num}; ++a)) do echo ${num:$a:1} done
备注: 同事问我这个问题,google了没有找到实用信息,解决后随手发上来。
抱歉!评论已关闭.