relpipe-data/examples/atom.sh
author František Kučera <franta-hg@frantovo.cz>
Tue, 11 May 2021 22:26:48 +0200
branchv_0
changeset 326 ab7f333f1225
parent 232 c7d05cf04b76
permissions -rwxr-xr-x
relpipe-tr-cut has new syntax since v0.18: --relation, --attribute

#!/bin/bash

get_atom() {
	wget --quiet --output-document - https://blog.frantovo.cz/agregace/c/
	# wget --quiet --output-document - https://blog.frantovo.cz/agregace/k/
	# cat atom.xml
}

get_atom | galax-run -context-item /dev/stdin atom.xq | relpipe-in-xml | relpipe-out-tabular