if [[ $string =~ "Needle" ]]. 4. then. 5. echo "It's there!" 6. fi. bash if file contains string. shell by Witty Wolf on Mar 24 2020 Comment.
確定! 回上一頁