bash trouver la chaîne dans la sortie du programme
./somecommand | grep -q 'string' && echo 'matched'
null234
./somecommand | grep -q 'string' && echo 'matched'