stockholm/krebs/5pkgs/Reaktor/scripts/random-emoji.sh
2015-12-25 00:04:52 +01:00

7 lines
150 B
Bash

#!/bin/sh
curl http://emojicons.com/random -s | \
grep data-text | \
sed -n 's/.*>\(.*\)<\/textarea>/\1/p' | \
head -n 1 | \
xmlstarlet unesc