7 lines
187 B
Plaintext
7 lines
187 B
Plaintext
|
#! /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'
|