relpipe-data/examples/atom.sh
author František Kučera <franta-hg@frantovo.cz>
Sat, 11 Jan 2020 20:24:43 +0100
branchv_0
changeset 290 e73765513aec
parent 232 c7d05cf04b76
permissions -rwxr-xr-x
fix read_nullbyte() to avoid trimming whitespace

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