# 2020-04-23 04:57:21.674824 UTC (+0000) xml2tsv added to Bitreich xml2tsv is a simple tool to turn an XML file into a list of tab-separated records. The filter reads an XML file from stdin and writes a tab-separated-values file on stdout. xml2tsv makes XML content easier to parse using standard unix tools, like grep, sed, awk, etc. For instance, you can get a list of the titles of the last commits to annna's repo using something like: curl -s gopher://bitreich.org/0/scm/annna/atom.xml | \ xml2tsv | grep -E "/feed/entry/title" | cut -f 3 | head or a pretty print-out of headlines of your preferred online journal with: curl -s "http://undeadly.org/cgi?action=rss&items=10" | \ xml2tsv | grep -E '/rss/channel/item/(title|link)' | \ cut -f 2 | awk '{if (NR%2 ==0) printf(" "); print $0}' xml2tsv is written and maintained by KatolaZ and is based on the xmlparser library by Hiltjo Posthuma.