stockholm/krebs/5pkgs/Reaktor/scripts/random-emoji.sh

7 lines
150 B
Bash
Raw Normal View History

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