Sorry, forgott to add the corrected line in the previous post: if echo "$OUT" | egrep -vq 'has no|not found|^;; '; then
Sorry, forgott to add the corrected line in the previous post:
if echo "$OUT" | egrep -vq 'has no|not found|^;; '; then