#!/bin/bash set -euxo pipefail find new/ -type f -not -name template -exec bash -c 'grep RRSIG "$0" >> "dnskey/$(basename "$0")"' '{}' \;