bash 遍历目录下的文件/文件夹
module=$(pwd | ls | awk '$NF!="outex" && $NF!="regression.sh" {print $NF}')
for i in ${module[*]}
do
echo $i
done
---------------------------------------------
Study needs record, record needs review
---------------------------------------------