Skip to content

Instantly share code, notes, and snippets.

@b0o b0o/news
Created Jul 11, 2018

What would you like to do?
output="$(curl -s "" | xmlstarlet sel -T -t -m /rss/channel/item -v "concat(pubDate,': ',title)" -n | head -n $n)";
echo -e "\e[1;31m";
echo "$output";
echo -en "\e[0m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.