Bash Test If Output Contains String Java