summaryrefslogtreecommitdiff
path: root/compile_emoji_sedstring.sh
diff options
context:
space:
mode:
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