How can I reduce the following bash script?
grep -P \"STATUS: (?!Perfect)\" recess.txt && exit 1 exit 0
It seems like I should be able
Just negate the return value.
! grep -P "STATUS: (?!Perfect)" recess.txt