#!/bin/sh for dcf in servers/*/docker-compose.d/docker-compose.yml; do if grep -e "#.*CERTBOT_DOMAINS" $dcf; then echo "$dcf has commented out domains!" exit 1 fi done