summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-23 15:15:54 +0200
committerlassulus <lassulus@lassul.us>2021-10-23 15:15:54 +0200
commit679922a7831176089fe9e3ad62346b0e0bd4dcdd (patch)
treea6ab4cce1956c7c315106f94fd1d4c0b4e686496 /krebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh
parent0564414a3184960555a8146f78b36120e6ef0c21 (diff)
Revert "rip Reaktor"
This reverts commit 55b137ba525f075f4619de4676d3e66f782b1a12.
Diffstat (limited to 'krebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh')
-rwxr-xr-xkrebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh b/krebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh
new file mode 100755
index 000000000..6f3dd4a3f
--- /dev/null
+++ b/krebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+curl -sS http://emojicons.com/random | \
+ grep data-text | \
+ sed -n 's/.*>\(.*\)<\/textarea>/\1/p' | \
+ head -n 1 | \
+ xmlstarlet unesc