From c7b1e1f147784284596df8f81896f2deead8eb61 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 3 Jul 2021 18:50:10 +0300
Subject: chore: add emoji substitute script

---
 compile_emoji_sedstring.sh | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100755 compile_emoji_sedstring.sh

(limited to 'compile_emoji_sedstring.sh')

diff --git a/compile_emoji_sedstring.sh b/compile_emoji_sedstring.sh
new file mode 100755
index 0000000..86e1291
--- /dev/null
+++ b/compile_emoji_sedstring.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+cd public/emoji;
+for EMOJI in *;
+do
+  BASENAME=${EMOJI%.*}
+  echo "s|:${BASENAME}:|<img src=\"/public/emoji/${EMOJI}\" height=\"24px\" style=\"margin-bottom: -4px\">|g; "
+done
-- 
cgit v1.2.3