summaryrefslogtreecommitdiffstats
path: root/cgit-email-filter.sh
diff options
context:
space:
mode:
authorArman Soltani <arman (at) rustymanta (dot) xyz> 2026-07-11 16:08:12 +0200
committerArman Soltani <arman (at) rustymanta (dot) xyz> 2026-07-11 16:08:12 +0200
commit692c1b4ff506cadf14cab802ac4d002b90c08598 (patch)
treed51fca33a50a3f2a43941d5ff2cd6f081a23904c /cgit-email-filter.sh
downloadgit_serve-692c1b4ff506cadf14cab802ac4d002b90c08598.tar.gz
git_serve-692c1b4ff506cadf14cab802ac4d002b90c08598.zip
init
Diffstat (limited to 'cgit-email-filter.sh')
-rwxr-xr-xcgit-email-filter.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgit-email-filter.sh b/cgit-email-filter.sh
new file mode 100755
index 0000000..11ed43f
--- /dev/null
+++ b/cgit-email-filter.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+IFS= read -r email
+printf '%s\n' "$email" \
+ | sed \
+ -e 's/@/ (at) /' \
+ -e 's/\./ (dot) /g'