rssurl (223B)
1 #!/usr/bin/env bash 2 3 set -eou pipefail 4 5 if [ -z "$1" ]; then 6 printf "usage: rssurl <some.link/rss.xml>\n" 7 exit 1 8 fi 9 10 curl -sL "$1" | xq -rc '.rss.channel.item[] | [.title,.link] | @tsv' | fzf | cutt -f2 | xargs plainweb