Fork me on GitHub
摘要: Shell脚本实现如下: #!/bin/bash IFS=$'\n' #echo自动将连续的空格当成一个处理 str='''abc b ad&& a''' num=$( echo -n $str | wc -c ) i=1 while [ $i -le $num ] do letter=`echo 阅读全文
posted @ 2022-04-21 17:52 星拂晓空 阅读(1133) 评论(0) 推荐(0) 编辑