Versuche dies :
grep -e "^[^#]*bin/exim.*" -e "^[^#]*SendEmail.*" -e "^[^#]*Unformatted.*" test.txt
Ich habe es mit dieser Datei versucht
# test #test # test #test test toto #toto # toto test toto test #bin/exim #SendEmail #Unformatted # bin/exim # SendEmail # Unformatted # bin/exim # SendEmail # Unformatted #bin/exim #SendEmail #Unformatted bin/exim SendEmail Unformatted