xmltv

apt install xmltv

To text

tv_to_text guide.xml

split big one to separate channel

tv_sort guide.xml | tv_split --output %channel%.xml

What’s on from now on specific channel

tv_sort guide.xml | tv_split --output txt/%channel%.xml
cd txt
# from NOW
tv_grep --on-after now Discovery\ Channel.xml | tv_to_text | head

From http://linuxgazette.net/issue99/lovett.html

a script

Working directly on composed guide.xml

https://raw.githubusercontent.com/brontosaurusrex/stretchbang/master/bin/now

about / github / jekyll