此时情绪此时天,无事小神仙
好好生活,平平淡淡每一天

编辑

Linux shell

https://www.cnblogs.com/chengmo/archive/2010/10/02/1841355.html

替换单引号

schemas=${schemas//\'/''}

循环

OLD_IFS="$IFS"
IFS=","
arr=($a)
IFS="$OLD_IFS"
for s in ${arr[@]}
do
echo "$s"
done
posted @ 2021-04-26 23:10  踏步  阅读(52)  评论(0编辑  收藏  举报