shell 大写转小写

table=HHK
LOWERCASE=$(echo $table | tr '[A-Z]' '[a-z]')
echo $LOWERCASE

 

posted @ 2024-06-26 15:33  所向披靡zz  阅读(2)  评论(0编辑  收藏  举报