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
[ $(grep -c -P "STATUS: (?!Perfect)" recess.txt) -eq 0 ]