summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/Reaktor/scripts/random-emoji.sh
blob: 386aa68b9be4994d4c323a2914dbcb4ca8c42713 (plain)
1
2
3
4
5
6
#!/bin/sh
curl http://emojicons.com/random -s | \
  grep data-text | \
  sed -n 's/.*>\(.*\)<\/textarea>/\1/p' | \
  head -n 1 | \
  xmlstarlet unesc