@@ -0,0 +1,15 @@
#!/bin/sh
if [ $# -gt 0 ]; then
text=$*
else
text=$(cat)
fi
if printf '%s' "$text" | grep -qP '[\x{AC00}-\x{D7A3}\x{3131}-\x{3163}]'; then
pair=ko:en
pair=en:ko
exec trans -b "$pair" "$text"
The note is not visible to the blocked user.