#! /bin/sh
# filter_secrets : lines string |> lines secrets-file-candidate
set -euf

# Notice how false positives are possible.
sed -n 's:^\(.*/\)\?\(secrets/.*\):'"${PWD//:/\\:}"'/\2:p'