summaryrefslogtreecommitdiff
path: root/compile_emoji_sedstring.sh
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-21 14:58:28 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-21 14:58:28 +0300
commit0b7bc99af62aa53148b7fcede648e5dfb6e2ca22 (patch)
tree7fbf0051f15815323a11a24f9a779e99f9cf4fe3 /compile_emoji_sedstring.sh
parentaa01f0afe1b6218eddc956b1f9ec901f6256c3c4 (diff)
downloadeug-vs-xyz-0b7bc99af62aa53148b7fcede648e5dfb6e2ca22.tar.gz
feat: remove old scripts
Diffstat (limited to 'compile_emoji_sedstring.sh')
-rwxr-xr-xcompile_emoji_sedstring.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/compile_emoji_sedstring.sh b/compile_emoji_sedstring.sh
deleted file mode 100755
index 006e240..0000000
--- a/compile_emoji_sedstring.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# Return a large sed command that will substitute all :emoji: listed in /public/emoji with <img>
-
-SIZE=20px
-STYLE="margin-bottom: -4px;"
-
-cd public/emoji;
-for EMOJI in *;
-do
- BASENAME=${EMOJI%.*}
- echo "s|:${BASENAME}:|<img src=\\\"/public/emoji/${EMOJI}\\\" alt=\\\"${BASENAME}-icon\\\" height=\\\"${SIZE}\\\" width=\\\"${SIZE}\\\" style=\\\"${STYLE}\\\">|g; "
-done