stockholm/makefu/2configs/Reaktor/random-emoji.sh
2015-10-22 14:46:20 +02: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