Skip to content

Instantly share code, notes, and snippets.

@dragid10
Created August 19, 2022 04:09
Show Gist options
  • Save dragid10/276c921bde9962ee02a86c67a2b4e0bd to your computer and use it in GitHub Desktop.
Save dragid10/276c921bde9962ee02a86c67a2b4e0bd to your computer and use it in GitHub Desktop.
#!/bin/sh
for path; do
sed -i 's/\bapple\b/banana/g' "$path"
sed -i 's/\bmaster\b/primary/g' "$path"
sed -i 's/\bslave\b/worker/g' "$path"
sed -i 's/\bblacklist\b/blocklist/g' "$path"
sed -i 's/\bblack list\b/blocklist/g' "$path"
sed -i 's/\bwhite list\b/allowlist/g' "$path"
sed -i 's/\bblack hat hacker\b/attacker/g' "$path"
sed -i 's/\bblack-hat hacker\b/attacker/g' "$path"
sed -i 's/\bwhite hat hacker\b/offensive security researcher/g' "$path"
sed -i 's/\bwhite-hat hacker\b/offensive security researcher/g' "$path"
sed -i 's/\bchinese wall\b/ethical wall/g' "$path"
sed -i 's/\bman hour\b/person hour/g' "$path"
sed -i 's/\bman-hour\b/person hour/g' "$path"
sed -i 's/\bman day\b/person day/g' "$path"
sed -i 's/\bman-day\b/person day/g' "$path"
sed -i 's/\bsanity check\b/check/g' "$path"
sed -i 's/\bsanity test\b/check/g' "$path"
sed -i 's/\bsanity-check\b/check/g' "$path"
sed -i 's/\bsanity-test\b/check/g' "$path"
sed -i 's/\bsegregate\b/separate/g' "$path"
sed -i 's/\bsegregation\b/separation/g' "$path"
sed -i 's/\bscrum master\b/scrum leader/g' "$path"
sed -i 's/\bscrum-master\b/scrum leader/g' "$path"
sed -i 's/\btribe\b/squad of squads/g' "$path"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment