摘要:
shell语句判断txt中是否包含字符串 if [ $(grep -c "$species" $speciesTxtFile) -ne '0' ]; then 做一些事儿 fi 阅读全文
posted @ 2022-08-29 21:53
bH1pJ
阅读(134)
评论(0)
推荐(0)
摘要:
shell判断文件是否存在 if [ ! -f "./Input/species.txt" ]; then echo "already exists" else echo "not exists" fi 阅读全文
posted @ 2022-08-29 20:52
bH1pJ
阅读(81)
评论(0)
推荐(0)
浙公网安备 33010602011771号