diff --git a/redact.sh b/redact.sh index 22c3be1..a6cbac1 100755 --- a/redact.sh +++ b/redact.sh @@ -1,9 +1,6 @@ #! /usr/bin/env bash -# http://redsymbol.net/articles/unofficial-bash-strict-mode/ -#set -euo pipefail -#IFS=$'\n\t' -while read -r line; do +pbpaste | while IFS= read line; do aws_key=$(echo $line | grep -oP '(?