2021-05-02 grepでのOR検索は"grep -e STR1 -e STR2" シェルスクリプト 2021 May 02. FILE.txt内の文字列STR1また文字列STR2を含む行を抽出する $ cat FILE.txt | grep -e STR1 -e STR2