7 lines
187 B
Bash
Executable File
7 lines
187 B
Bash
Executable File
#! /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'
|