summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/Reaktor/scripts/random-emoji.sh
diff options
context:
space:
mode:
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