4 # if [ -d ../../release-process ] && [ "${PWD##*/}" = "pkgs" ]; then
5 # okay=true # we are in right dir
6 # elif [ -d release-process ]; then
7 # b="$(find . -maxdepth 1 -name 'exim-packaging-*' | sort | tail -n 1)"
8 # if [ ".$b" != "." ]; then
14 if [ -d "${1:?need a directory to look in}" ]; then
18 printf "%s: %s\n" >&2 "$(basename "$0")" "where should I be looking"
23 set $(find "${1:-.}" -name '*.asc' -prune -o -type f -print | cut -c 3- | sort)
25 # stat(1) formats are non-portable BSD vs GNU
26 perl -le 'print "SIZE($_)= @{[-s $_]}" foreach @ARGV' "$@"
28 openssl dgst -sha256 "$@"