回答:
これを試して :
grep -e "^[^#]*bin/exim.*" -e "^[^#]*SendEmail.*" -e "^[^#]*Unformatted.*" test.txt
このファイルで試してみました
# 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