summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/Reaktor/scripts/random-emoji.sh
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-12-25 00:04:52 +0100
committermakefu <github@syntax-fehler.de>2015-12-25 00:04:52 +0100
commit70264d1e46dc17391f0a3a590ba0749d0a93eda2 (patch)
tree0ef0f3308ea75521a1d68ff5264dcc9d1f5ee1b5 /krebs/5pkgs/Reaktor/scripts/random-emoji.sh
parent58f37bde831877e467646d283b88c17251b84b7c (diff)
k 5 Reaktor: init plugin infrastructure
Diffstat (limited to 'krebs/5pkgs/Reaktor/scripts/random-emoji.sh')
-rw-r--r--krebs/5pkgs/Reaktor/scripts/random-emoji.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/5pkgs/Reaktor/scripts/random-emoji.sh b/krebs/5pkgs/Reaktor/scripts/random-emoji.sh
new file mode 100644
index 000000000..386aa68b9
--- /dev/null
+++ b/krebs/5pkgs/Reaktor/scripts/random-emoji.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+curl http://emojicons.com/random -s | \
+ grep data-text | \
+ sed -n 's/.*>\(.*\)<\/textarea>/\1/p' | \
+ head -n 1 | \
+ xmlstarlet unesc