relpipe-data/examples/atom.sh
author František Kučera <franta-hg@frantovo.cz>
Tue, 11 May 2021 21:35:54 +0200
branchv_0
changeset 325 4560c5623d7d
parent 232 c7d05cf04b76
permissions -rwxr-xr-x
relpipe-tr-grep has new syntax since v0.18: --relation, --attribute, --value

#!/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