summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/Reaktor/scripts/random-emoji.sh
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-12-26 10:45:50 +0100
committerlassulus <lass@aidsballs.de>2015-12-26 10:45:50 +0100
commit7aacc397241cc62e88d23d253533fb7d83548b9d (patch)
tree15710b35b6ea4d14f7481fbc41be69eb794c10b0 /krebs/5pkgs/Reaktor/scripts/random-emoji.sh
parent6733fa66b46f0d00b7016a92f4ef093ccb7b7a2b (diff)
parentcef2be532b0cc76071b0b3515fc71214b37591f0 (diff)
Merge remote-tracking branch 'gum/master'
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