#!/bin/sh pkg="" find . -name '*.tlz' -exec sh -c ' for pkg ; do [ -e "$pkg".sha1sum ] || printf "%-7s : missing for %s\n" "sha1sum" "$pkg" [ -e "$pkg".sig ] || printf "%-7s : missing for %s\n" "sig" "$pkg" done ' _ {} +