diff options
Diffstat (limited to 'compile_emoji_sedstring.sh')
-rwxr-xr-x | compile_emoji_sedstring.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |