diff --git a/roles/home/scripts/commits.sh b/roles/home/scripts/commits.sh index 94e7c18..3195bab 100644 --- a/roles/home/scripts/commits.sh +++ b/roles/home/scripts/commits.sh @@ -187,3 +187,17 @@ create_pr_from_commit() { git stash pop fi } + +anonymize_multiple() { + while IFS= read -r line; do + result="$line" + # Simple sed with multiple patterns + echo "$result" | sed ' + s/github.pie.apple.com/github.com/g; + s/Kerosene/org/g; + s/kerosene/org/g; + s/Shelob/example/g; + s/shelob/example/g; + ' + done +}